From 48846b5b755683fbd3ab8e52490b2a4e93db5d9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 4 Sep 2013 11:23:59 +0200 Subject: [PATCH] Do not put the gr/sr in front of the number for easier copy&paste --- osc-group.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osc-group.py b/osc-group.py index 0b148822..b65a53c0 100644 --- a/osc-group.py +++ b/osc-group.py @@ -319,7 +319,7 @@ def _print_group_header(self, grid, opts): counter = root.find('action') res = self._extract('id', int, 'grouped', counter) items = len(res) - print('GR#{0} | {1} | {2} | {3} | {4}'.format(grid, author, date, items, description)) + print('{0} | {1} | {2} | {3} | {4}'.format(grid, author, date, items, description)) def _group_list_requests(self, grid, opts): @@ -374,7 +374,7 @@ def _group_list_requests(self, grid, opts): else: state = 'missing reviews: ' + ', '.join(failing_groups) - print('SR#{0} | {1}/{2}:{3} | {4} | {5}'.format(x, project, package, revision, date, state)) + print('{0} | {1}/{2}:{3} | {4} | {5}'.format(x, project, package, revision, date, state)) return # search up the GR#s