aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command/show.py
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/command/show.py')
-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)