From 53b5af5898a8be27ec5f03d88e3e6c76232f6292 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Mon, 23 Jan 2017 08:44:53 +0100 Subject: dch: Allow to run from subdirectory Resolves #1 --- gbp/deb/git.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gbp/deb/git.py') 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([^%]|\\%))+' '\)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): -- cgit v1.2.3