diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2013-09-12 13:36:08 +0300 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-06-05 14:20:03 +0300 |
commit | 751426f9d5012a3e4631b3558ae7c758399c2879 (patch) | |
tree | 255e9b8131d60d1a51ea89d87eb8715cc3174a46 /gbp/git/repository.py | |
parent | aceb23693b1ecda418676d7f799764694a20d150 (diff) | |
download | git-buildpackage-751426f9d5012a3e4631b3558ae7c758399c2879.tar.gz git-buildpackage-751426f9d5012a3e4631b3558ae7c758399c2879.tar.bz2 git-buildpackage-751426f9d5012a3e4631b3558ae7c758399c2879.zip |
GitRepository.archive: drop the '**kwargs' argument
Unused and misleading.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'gbp/git/repository.py')
-rw-r--r-- | gbp/git/repository.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gbp/git/repository.py b/gbp/git/repository.py index 9e720039..b95cad3b 100644 --- a/gbp/git/repository.py +++ b/gbp/git/repository.py @@ -1711,7 +1711,7 @@ class GitRepository(object): return output #} - def archive(self, format, prefix, output, treeish, **kwargs): + def archive(self, format, prefix, output, treeish): """ Create an archive from a treeish @@ -1724,7 +1724,6 @@ class GitRepository(object): @type output: C{str} or C{None} @param treeish: the treeish to create the archive from @type treeish: C{str} - @param kwargs: additional commandline options passed to git-archive @return: archive data as a generator object @rtype: C{None} or C{generator} of C{str} @@ -1734,12 +1733,12 @@ class GitRepository(object): args.add(treeish) if output: - out, err, ret = self._git_inout('archive', args.args, **kwargs) + out, err, ret = self._git_inout('archive', args.args) if ret: raise GitRepositoryError("Unable to archive %s: %s" % (treeish, err)) else: - return self._git_inout2('archive', args.args, **kwargs) + return self._git_inout2('archive', args.args) def collect_garbage(self, auto=False): """ |