projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a9dde5
)
Only print a target in "be target list" if it's a string.
author
Gianluca Montecchi
<gian@grys.it>
Wed, 24 Jun 2009 21:26:50 +0000
(17:26 -0400)
committer
Gianluca Montecchi
<gian@grys.it>
Wed, 24 Jun 2009 21:26:50 +0000
(17:26 -0400)
becommands/target.py
patch
|
blob
|
history
diff --git
a/becommands/target.py
b/becommands/target.py
index e7ebccabb0002dc91e683b618913afe6a1b5261e..46b7898dcc3dcf68c15e7175e54bc6c6d0a045a9 100644
(file)
--- 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])