diff options
author | Guido Günther <agx@sigxcpu.org> | 2013-09-16 19:20:25 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2013-09-16 19:22:45 +0200 |
commit | 820100d702c3a2bed084061892f49bcb43a87b38 (patch) | |
tree | 5d047882257b4aa618c0a599737189a2a291928d /gbp/scripts | |
parent | ec7bd94142bea850325ef059999b08bf385577a4 (diff) |
pq: Only print number or tries if we try more than once
Diffstat (limited to 'gbp/scripts')
-rwxr-xr-x | gbp/scripts/pq.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/pq.py b/gbp/scripts/pq.py index 70aabf5..59be383 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) |