summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2014-03-08 12:54:37 +0100
committerHelmut Grohne <helmut@subdivi.de>2014-03-08 12:54:37 +0100
commit92b5c32f61304aff6697978c9ac0b4b3931bd5e9 (patch)
tree1037a65db8585be22e4c6b9c6f8f9cfd5a9a0840
parentc6a30cefff55cd247a47fa0a2d4f819592e1202b (diff)
downloaddebian-dedup-92b5c32f61304aff6697978c9ac0b4b3931bd5e9.tar.gz
autoimport: fix --database option broken in merge
-rwxr-xr-xautoimport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoimport.py b/autoimport.py
index 8c61a18..6db6171 100755
--- a/autoimport.py
+++ b/autoimport.py
@@ -90,7 +90,7 @@ def main():
help="location of the database")
options, args = parser.parse_args()
tmpdir = tempfile.mkdtemp(prefix=b"debian-dedup")
- db = sqlalchemy.create_engine("sqlite:///test.sqlite3")
+ db = sqlalchemy.create_engine(options.database)
enable_sqlite_foreign_keys(db)
e = concurrent.futures.ThreadPoolExecutor(multiprocessing.cpu_count())
pkgs = {}