mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-10-26 06:00:55 -04:00
Fix import.py crash
This commit is contained in:
1 parent
17f6e4d169
commit
560dd15464
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user