From 7bd970716c27c973d60f6ff27116af9583bc39e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 25 Feb 2009 08:39:29 +0000 Subject: [PATCH] increase size of package field for jobhistory output. (Product build packages are usually longer than 24 chars) --- osc/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osc/core.py b/osc/core.py index f70aff89..56a3a24c 100755 --- a/osc/core.py +++ b/osc/core.py @@ -2824,7 +2824,7 @@ def print_jobhistory(apiurl, prj, current_package, platform, arch): f = http_GET(u) root = ET.parse(f).getroot() - print "time package reason code build time" + print "time package reason code build time" for node in root.findall('jobhist'): package = node.get('package') reason = node.get('reason') @@ -2847,7 +2847,7 @@ def print_jobhistory(apiurl, prj, current_package, platform, arch): else: waitbuild = " %2dm %2ds" % (waittm.tm_min, waittm.tm_sec) - print '%s %-25s %-16s %-16s %s' % (endtime, package[0:24], reason[0:15], code[0:15], waitbuild) + print '%s %-50s %-16s %-16s %s' % (endtime, package[0:49], reason[0:15], code[0:15], waitbuild) def get_commitlog(apiurl, prj, package, revision):