diff options
author | W. Trevor King <wking@drexel.edu> | 2009-12-14 08:33:43 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-12-14 08:33:43 -0500 |
commit | df1d5b187ff68dc182a3b04294c3e37a8d580e49 (patch) | |
tree | 8ba83b151e120b3738163542f46541827c4ecdb9 /libbe/command/list.py | |
parent | 19fe0817ba7c2cd04caea3adfa82d4490288a548 (diff) | |
download | bugseverywhere-df1d5b187ff68dc182a3b04294c3e37a8d580e49.tar.gz |
Transitioned depend to Command format
Diffstat (limited to 'libbe/command/list.py')
-rw-r--r-- | libbe/command/list.py | 5 |
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 = [] |