aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libbe/command/comment.py2
-rw-r--r--libbe/command/new.py2
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):