mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 23:10:29 +03:00
Fix import.py crash
This commit is contained in:
parent
17f6e4d169
commit
560dd15464
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue