summaryrefslogtreecommitdiff
path: root/gbp
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2012-11-24 13:10:35 +0100
committerGuido Günther <agx@sigxcpu.org>2012-11-24 13:13:03 +0100
commit824e83ed3e26f625bf476a6a5dacc6003cbc6e96 (patch)
tree8be70115d1e77c617f4ae8bf4046647ae7722d9e /gbp
parent03cdea0f8a0fde5a251c6d9f666323b86b2a88c1 (diff)
downloadgit-buildpackage-824e83ed3e26f625bf476a6a5dacc6003cbc6e96.tar.gz
git-buildpackage-824e83ed3e26f625bf476a6a5dacc6003cbc6e96.tar.bz2
git-buildpackage-824e83ed3e26f625bf476a6a5dacc6003cbc6e96.zip
gbp-pq: don't use plural form when there's only one try left
Diffstat (limited to 'gbp')
-rwxr-xr-xgbp/scripts/pq.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/pq.py b/gbp/scripts/pq.py
index bc572388..3f7cd52f 100755
--- a/gbp/scripts/pq.py
+++ b/gbp/scripts/pq.py
@@ -135,7 +135,7 @@ def import_quilt_patches(repo, branch, series, tries, force):
i = len(commits)
for commit in commits:
if len(commits):
- gbp.log.info("%d tries left" % i)
+ gbp.log.info("%d %s left" % (i, 'tries' if i > 1 else 'try'))
try:
gbp.log.info("Trying to apply patches at '%s'" % commit)
repo.create_branch(pq_branch, commit)