command:target: Print full ID (bugdir/bug) on --resolve
[be.git] / libbe / command / target.py
index 6cf9cc6513d8fdbc86785801f8d41ab48bd173eb..20ffb578c1cbada8ecf5502ef5a6d337228749d2 100644 (file)
@@ -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(