aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command/list.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-12-14 08:33:43 -0500
committerW. Trevor King <wking@drexel.edu>2009-12-14 08:33:43 -0500
commitdf1d5b187ff68dc182a3b04294c3e37a8d580e49 (patch)
tree8ba83b151e120b3738163542f46541827c4ecdb9 /libbe/command/list.py
parent19fe0817ba7c2cd04caea3adfa82d4490288a548 (diff)
downloadbugseverywhere-df1d5b187ff68dc182a3b04294c3e37a8d580e49.tar.gz
Transitioned depend to Command format
Diffstat (limited to 'libbe/command/list.py')
-rw-r--r--libbe/command/list.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/libbe/command/list.py b/libbe/command/list.py
index 2a64fe2..23dbdc0 100644
--- a/libbe/command/list.py
+++ b/libbe/command/list.py
@@ -62,9 +62,9 @@ class List (libbe.command.Command):
>>> cmd = List()
>>> cmd._setup_io = lambda i_enc,o_enc : None
>>> cmd.stdout = sys.stdout
- >>> cmd.run(bd.storage, bd)
+ >>> ret = cmd.run(bd.storage, bd)
sim/a:om: Bug A
- >>> cmd.run(bd.storage, bd, {'status':'closed'})
+ >>> ret = cmd.run(bd.storage, bd, {'status':'closed'})
sim/b:cm: Bug B
>>> bd.storage.writeable
True
@@ -153,6 +153,7 @@ class List (libbe.command.Command):
else:
self._list_bugs(bugs, xml=params['xml'])
bugdir.storage.writeable = writeable
+ return 0
def _parse_params(self, params):
cmp_list = []