diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2013-03-08 11:59:49 +0200 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2013-03-08 15:02:07 +0200 |
commit | 56c42354da50e1f91acf32735d157243ffcbfdf8 (patch) | |
tree | af577908e04454fc646c9b3c259afa38f0c5a7d1 | |
parent | b8e154b55ac74d73006e3febd11e2a5ccef4aff8 (diff) | |
download | git-buildpackage-56c42354da50e1f91acf32735d157243ffcbfdf8.tar.gz git-buildpackage-56c42354da50e1f91acf32735d157243ffcbfdf8.tar.bz2 git-buildpackage-56c42354da50e1f91acf32735d157243ffcbfdf8.zip |
GitRepository: fix '--no-signature' checking in format_patch
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rw-r--r-- | gbp/git/repository.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gbp/git/repository.py b/gbp/git/repository.py index 3687b3b6..2a55a7c5 100644 --- a/gbp/git/repository.py +++ b/gbp/git/repository.py @@ -1476,7 +1476,7 @@ class GitRepository(object): """ options = GitArgs('-N', '-k', '-o', output_dir) - if (self._cmd_has_feature('format-patch', '--no-signature')): + if (self._cmd_has_feature('format-patch', 'no-signature')): options.add_cond(not signature, '--no-signature') else: log.debug("Your git suite doesn't support --signature/" @@ -1508,7 +1508,7 @@ class GitRepository(object): @rtype: C{str} """ args = GitArgs('-k', '--stdout', '-a', '--ignore-submodules') - if (self._cmd_has_feature('format-patch', '--no-signature')): + if (self._cmd_has_feature('format-patch', 'no-signature')): args.add_cond(not signature, '--no-signature') else: log.debug("Your git suite doesn't support --signature/" |