aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-07-25 11:35:54 +0200
committerGuido Günther <agx@sigxcpu.org>2011-07-25 11:37:00 +0200
commitc8217fba315441d1068f0999ddb293f0329f9092 (patch)
tree31fa29e7614a94076b5e0cdaddea5f8f73d2732c
parent86a67d6f9edfab01380637bc27a4836c7cbf7681 (diff)
Drop unused funciton argument
spotted by pychecker Git-Dch: Ignore
-rwxr-xr-xgit-buildpackage4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-buildpackage b/git-buildpackage
index 676129d..325b8cb 100755
--- a/git-buildpackage
+++ b/git-buildpackage
@@ -80,7 +80,7 @@ def git_archive_submodules(repo, treeish, output, prefix, comp_type, comp_level,
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
@@ -111,7 +111,7 @@ def git_archive(repo, cp, output_dir, treeish, comp_type, comp_level, with_submo
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")