diff mbox

pwclient: Add a little more space in 'pwclient list'

Message ID 1354580022-27860-1-git-send-email-dianders@chromium.org
State Accepted
Headers show

Commit Message

Doug Anderson Dec. 4, 2012, 12:13 a.m. UTC
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>

---
 apps/patchwork/bin/pwclient |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

Comments

Jeremy Kerr Dec. 30, 2012, 1:43 a.m. UTC | #1
Hi Doug,

> New patch IDs are now 7 digits long on patchwork.kernel.org.  Give a
> little more space.

Thanks, applied.


Jeremy
diff mbox

Patch

diff --git a/apps/patchwork/bin/pwclient b/apps/patchwork/bin/pwclient
index 9588615..b0f5af3 100755
--- a/apps/patchwork/bin/pwclient
+++ b/apps/patchwork/bin/pwclient
@@ -164,10 +164,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)