diff options
author | Guido Guenther <agx@sigxcpu.org> | 2006-12-21 15:21:43 +0100 |
---|---|---|
committer | Guido Guenther <agx@bogon.sigxcpu.org> | 2006-12-21 15:21:43 +0100 |
commit | 69e776a291872d0b20f5a55527b68ea09996b920 (patch) | |
tree | e82cc22292689a0ea021cf073235c0885daff85c /git_buildpackage/config.py | |
parent | 06e6289f643a7c71956b36d5cd253d2e86c9f292 (diff) |
git-buildpackage: add an option (--git-cleaner) that allows to specify a different clean command (Closes: #403987)debian/0.2.19
Diffstat (limited to 'git_buildpackage/config.py')
-rw-r--r-- | git_buildpackage/config.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/git_buildpackage/config.py b/git_buildpackage/config.py index e1fde158..cff42553 100644 --- a/git_buildpackage/config.py +++ b/git_buildpackage/config.py @@ -23,11 +23,12 @@ class GBPOptionParser(OptionParser): @type config_files: list """ defaults={ 'builder' : 'debuild', + 'cleaner' : 'debuild clean', 'debian-branch' : 'master', 'upstream-branch' : 'upstream', 'upstream-branch' : 'upstream', - 'sign-tags' : '', # empty means False - 'keyid' : '', + 'sign-tags' : '', # empty means False + 'keyid' : '', } config_files=['/etc/git-buildpackage/gbp.conf', os.path.expanduser('~/.gbp.conf'), @@ -59,6 +60,7 @@ class GBPOptionParser(OptionParser): @type help: string """ OptionParser.add_option(self,"--%s%s" % (self.prefix, option_name), dest=dest, - default=self.config[option_name], - help=help % self.config, **kwargs) + default=self.config[option_name], + help=help % self.config, **kwargs) +# vim:et:ts=4:sw=4: |