shutil.rmtree(tempdir)
-def git_archive_single(repo, treeish, output, prefix, comp_type, comp_level, comp_opts):
+def git_archive_single(treeish, output, prefix, comp_type, comp_level, comp_opts):
"""
Create tar.gz of an archive without submodules
comp_type, comp_level, comp_opts)
else:
- git_archive_single(repo, treeish, output, prefix,
+ git_archive_single(treeish, output, prefix,
comp_type, comp_level, comp_opts)
except CommandExecFailed:
gbp.log.err("Error generating submodules' archives")