aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/deb/git.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-01-23 08:44:53 +0100
committerGuido Günther <agx@sigxcpu.org>2017-01-23 08:44:53 +0100
commit53b5af5898a8be27ec5f03d88e3e6c76232f6292 (patch)
tree9e9a7fd0c52f36cf44ee3f2ace2171f83f051aab /gbp/deb/git.py
parent06ae8c94198ff280e01d0e04658e096c4dc55711 (diff)
dch: Allow to run from subdirectory
Resolves #1
Diffstat (limited to 'gbp/deb/git.py')
-rw-r--r--gbp/deb/git.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gbp/deb/git.py b/gbp/deb/git.py
index 23d3ee7e..f4c7eaf4 100644
--- a/gbp/deb/git.py
+++ b/gbp/deb/git.py
@@ -32,8 +32,8 @@ class DebianGitRepository(GitRepository):
'%(?P<R>([^%]|\\%))+'
'\)s')
- def __init__(self, path):
- super(DebianGitRepository, self).__init__(path)
+ def __init__(self, *args, **kwargs):
+ super(DebianGitRepository, self).__init__(*args, **kwargs)
self.pristine_tar = DebianPristineTar(self)
def tree_drop_dirs(self, tree, dirs):