chiark / gitweb /
Fix import.py crash
authorDaniel Martí <mvdan@mvdan.cc>
Wed, 13 Nov 2013 16:29:10 +0000 (17:29 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Wed, 13 Nov 2013 16:31:53 +0000 (17:31 +0100)
fdroidserver/import.py

index 402a44f4f6a901af1facc3cf8f68d479d8b0e1f9..4796e4eda8092239b4b1f6df08e903ace8c82272 100644 (file)
@@ -220,7 +220,7 @@ def main():
     src_dir = os.path.join(tmp_dir, 'importer')
     if os.path.exists(src_dir):
         shutil.rmtree(src_dir)
-    vcs = common.getvcs(repotype, repo, src_dir, config['sdk_path'])
+    vcs = common.getvcs(repotype, repo, src_dir)
     vcs.gotorevision(options.rev)
     if options.subdir:
         root_dir = os.path.join(src_dir, options.subdir)