summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2013-09-16 19:20:25 +0200
committerGuido Günther <agx@sigxcpu.org>2013-09-16 19:22:45 +0200
commit820100d702c3a2bed084061892f49bcb43a87b38 (patch)
tree5d047882257b4aa618c0a599737189a2a291928d
parentec7bd94142bea850325ef059999b08bf385577a4 (diff)
pq: Only print number or tries if we try more than once
-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 70aabf52..59be3832 100755
--- a/gbp/scripts/pq.py
+++ b/gbp/scripts/pq.py
@@ -137,7 +137,7 @@ def import_quilt_patches(repo, branch, series, tries, force):
i = len(commits)
for commit in commits:
- if len(commits):
+ if len(commits) > 1:
gbp.log.info("%d %s left" % (i, 'tries' if i > 1 else 'try'))
try:
gbp.log.info("Trying to apply patches at '%s'" % commit)