GitRepository.archive: drop the '**kwargs' argument
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 12 Sep 2013 10:36:08 +0000 (13:36 +0300)
committerJun Wang <junbill.wang@samsung.com>
Tue, 26 Jan 2016 20:57:09 +0000 (04:57 +0800)
Unused and misleading.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Conflicts:
gbp/git/repository.py

gbp/git/repository.py

index 6b21c25..5d66222 100644 (file)
@@ -1834,7 +1834,7 @@ class GitRepository(object):
         return result
 #}
 
-    def archive(self, format, prefix, output, treeish, paths=None):
+    def archive(self, format, prefix, output, treeish):
         """
         Create an archive from a treeish
 
@@ -1847,8 +1847,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 paths: List of paths to include in the archive
-        @type paths: C{list} of C{str}
 
         @return: archive data as a generator object
         @rtype: C{None} or C{generator} of C{str}