diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spam@spamtrap.com> | 2012-03-02 07:28:34 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2012-03-02 07:28:34 -0500 |
commit | 99f328d8937a173ca4e4f2bb7c46561c675d2d24 (patch) | |
tree | 9625434b9bef76c9c7b8c15c31753d9542e94285 /libbe/command | |
parent | 323da0a602bb689eecd6137dc3c676b3360a92b9 (diff) | |
download | bugseverywhere-99f328d8937a173ca4e4f2bb7c46561c675d2d24.tar.gz |
Print full UUIDs during `new` and `comment`.
Diffstat (limited to 'libbe/command')
-rw-r--r-- | libbe/command/comment.py | 2 | ||||
-rw-r--r-- | 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): |