From 55e43b6c6f260e3fd1bbed93fcabdb9790404904 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 29 Jan 2010 14:32:27 -0500 Subject: Fix `be show` handling for no IDs --- libbe/command/show.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 [''] 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) -- cgit