aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGianluca Montecchi <gian@grys.it>2009-06-24 17:26:50 -0400
committerGianluca Montecchi <gian@grys.it>2009-06-24 17:26:50 -0400
commitf108aa1fe803407ff47f86e44f2ff9414eeaf00d (patch)
tree1014c8c605004630e4575fef625b5f719e88058e
parent4a9dde55b83b92866daae3f408c7a31e20d9e0ab (diff)
downloadbugseverywhere-f108aa1fe803407ff47f86e44f2ff9414eeaf00d.tar.gz
Only print a target in "be target list" if it's a string.
-rw-r--r--becommands/target.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/becommands/target.py b/becommands/target.py
index e7ebcca..46b7898 100644
--- a/becommands/target.py
+++ b/becommands/target.py
@@ -42,7 +42,7 @@ def execute(args, test=False):
if len(args) == 1 and args[0] == "list":
ts = set([bd.bug_from_uuid(bug).target for bug in bd.list_uuids()])
for target in sorted(ts):
- if target:
+ if target and isinstance(target, str):
print target
return
bug = bd.bug_from_shortname(args[0])