mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-01-26 00:08:25 -05:00
Fix import.py crash
This commit is contained in:
@@ -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