aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2010-01-29 14:32:27 -0500
committerW. Trevor King <wking@drexel.edu>2010-01-29 14:32:27 -0500
commit55e43b6c6f260e3fd1bbed93fcabdb9790404904 (patch)
tree45a6606af89ef3f1337569ba03358119dd09a999
parent98f6c220071d6ef65bd254bc24935d0be76cf61a (diff)
downloadbugseverywhere-55e43b6c6f260e3fd1bbed93fcabdb9790404904.tar.gz
Fix `be show` handling for no IDs
-rw-r--r--libbe/command/show.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/command/show.py b/libbe/command/show.py
index e102391..ab3be73 100644
--- 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)