diff options
author | W. Trevor King <wking@drexel.edu> | 2010-01-29 14:32:27 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2010-01-29 14:32:27 -0500 |
commit | 55e43b6c6f260e3fd1bbed93fcabdb9790404904 (patch) | |
tree | 45a6606af89ef3f1337569ba03358119dd09a999 /libbe/command | |
parent | 98f6c220071d6ef65bd254bc24935d0be76cf61a (diff) | |
download | bugseverywhere-55e43b6c6f260e3fd1bbed93fcabdb9790404904.tar.gz |
Fix `be show` handling for no IDs
Diffstat (limited to 'libbe/command')
-rw-r--r-- | libbe/command/show.py | 2 |
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) |