Fix import.py crash

This commit is contained in:
Daniel Martí committed 2013-11-13 17:31:53 +01:00
1 parent 17f6e4d169
commit 560dd15464
1 file changed
+1 -1
+1 -1
View 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)