From 99f328d8937a173ca4e4f2bb7c46561c675d2d24 Mon Sep 17 00:00:00 2001 From: "Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)" Date: Fri, 2 Mar 2012 07:28:34 -0500 Subject: [PATCH] Print full UUIDs during `new` and `comment`. --- libbe/command/comment.py | 2 +- libbe/command/new.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libbe/command/comment.py b/libbe/command/comment.py index 9695ff6..74521d1 100644 --- a/libbe/command/comment.py +++ b/libbe/command/comment.py @@ -159,7 +159,7 @@ class Comment (libbe.command.Command): for key in ['alt-id', 'author']: if params[key] != None: setattr(new, new._setting_name_to_attr_name(key), params[key]) - print >> self.stdout, 'Created comment with ID %s' % new.id.user() + print >> self.stdout, 'Created comment with ID %s (%s)' % (new.id.user(), new.id.long_user()) return 0 def _long_help(self): diff --git a/libbe/command/new.py b/libbe/command/new.py index e34d05c..a847132 100644 --- a/libbe/command/new.py +++ b/libbe/command/new.py @@ -124,7 +124,7 @@ class New (libbe.command.Command): bug.severity = params['severity'] bugdir.storage.writeable = True bug.save() - print >> self.stdout, 'Created bug with ID %s' % bug.id.user() + print >> self.stdout, 'Created bug with ID %s (%s)' % (bug.id.user(), bug.id.long_user()) return 0 def _long_help(self): -- 2.26.2