Commit 7bede875 authored by Lisa's avatar Lisa

Add missing import to db_import

parent 6e48605f
......@@ -10,6 +10,8 @@
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
import sys
def getDatabasePath(pf):
"""Reads the path of the local Pacman database from the configuration.
......@@ -45,4 +47,4 @@ def getDatabasePath(pf):
return optvalue
conf.close()
return ""
\ No newline at end of file
return ""
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment