From 9b5b2a1b7ca4541b4b34aa4b4f00c2d96a90d79b Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 10 Jul 2013 10:07:37 -0400 Subject: [PATCH] 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 --- libbe/command/target.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- 2.26.2