summaryrefslogtreecommitdiffstats
path: root/apps/patchwork/bin/pwclient
diff options
context:
space:
mode:
authorDoug Anderson <dianders@chromium.org>2012-12-03 14:13:41 +0000
committerJeremy Kerr <jk@ozlabs.org>2012-12-30 09:43:08 +0800
commit27b72379bf581c8b3d106bfabc67bd82a18edfc7 (patch)
treed9b323769cf8324f1cc17cade8573054c46502e0 /apps/patchwork/bin/pwclient
parent6dede3e067edfeec16682ff7500e1b7c25663016 (diff)
downloadpatchwork-27b72379bf581c8b3d106bfabc67bd82a18edfc7.tar.bz2
patchwork-27b72379bf581c8b3d106bfabc67bd82a18edfc7.tar.xz
pwclient: Add a little more space in 'pwclient list'
New patch IDs are now 7 digits long on patchwork.kernel.org. Give a little more space. Signed-off-by: Doug Anderson <dianders@chromium.org> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'apps/patchwork/bin/pwclient')
-rwxr-xr-xapps/patchwork/bin/pwclient6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/patchwork/bin/pwclient b/apps/patchwork/bin/pwclient
index e642195..5fce359 100755
--- a/apps/patchwork/bin/pwclient
+++ b/apps/patchwork/bin/pwclient
@@ -165,10 +165,10 @@ def person_ids_by_name(rpc, name):
def list_patches(patches):
"""Dump a list of patches to stdout."""
- print("%-5s %-12s %s" % ("ID", "State", "Name"))
- print("%-5s %-12s %s" % ("--", "-----", "----"))
+ print("%-7s %-12s %s" % ("ID", "State", "Name"))
+ print("%-7s %-12s %s" % ("--", "-----", "----"))
for patch in patches:
- print("%-5d %-12s %s" % (patch['id'], patch['state'], patch['name']))
+ print("%-7d %-12s %s" % (patch['id'], patch['state'], patch['name']))
def action_list(rpc, filter, submitter_str, delegate_str):
filter.resolve_ids(rpc)