projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98f6c22
)
Fix `be show` handling for no IDs
author
W. Trevor King
<wking@drexel.edu>
Fri, 29 Jan 2010 19:32:27 +0000
(14:32 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Fri, 29 Jan 2010 19:32:27 +0000
(14:32 -0500)
libbe/command/show.py
patch
|
blob
|
history
diff --git
a/libbe/command/show.py
b/libbe/command/show.py
index e102391b6be892d4695a158c8c98d04f43054bae..ab3be733fbe9371b0fcd426b12a52a99f4b18c12 100644
(file)
--- a/
libbe/command/show.py
+++ b/
libbe/command/show.py
@@
-166,7
+166,7
@@
def _xml_footer():
return ['</be-xml>']
def output(bd, ids, encoding, as_xml=True, with_comments=True):
- if len(ids) == 0:
+ if
ids == None or
len(ids) == 0:
bd.load_all_bugs()
ids = [bug.id.user() for bug in bd]
bugs,root_comments = _sort_ids(bd, ids, with_comments)