aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command
diff options
context:
space:
mode:
authorW. Trevor King <wking@tremily.us>2013-07-10 10:07:37 -0400
committerW. Trevor King <wking@tremily.us>2013-07-10 10:07:37 -0400
commit9b5b2a1b7ca4541b4b34aa4b4f00c2d96a90d79b (patch)
tree9f0d0686024f6fb645188424ce8f6afc1e3952a2 /libbe/command
parentf41908a1f7b5a100ae1f4f143ac8f150d1d83f73 (diff)
downloadbugseverywhere-9b5b2a1b7ca4541b4b34aa4b4f00c2d96a90d79b.tar.gz
command:target: Print full ID (bugdir/bug) on --resolve
The old implementation just printed the bug UUID (without the bugdir/ prefix). This lead to the command we suggest in `be target --help`: $ be depend --status -closed,fixed,wontfix --severity -target \ $(be target --resolve) failing with an invalid ID. Reported-by: Michael Sperber <sperber@deinprogramm.de>
Diffstat (limited to 'libbe/command')
-rw-r--r--libbe/command/target.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/command/target.py b/libbe/command/target.py
index 6cf9cc6..20ffb57 100644
--- a/libbe/command/target.py
+++ b/libbe/command/target.py
@@ -109,7 +109,7 @@ class Target (libbe.command.Command):
if bug == None:
print >> self.stdout, 'No target assigned.'
else:
- print >> self.stdout, bug.uuid
+ print >> self.stdout, bug.id.long_user()
return 0
bugdir,bug,comment = (
libbe.command.util.bugdir_bug_comment_from_user_id(