aboutsummaryrefslogtreecommitdiffstats
path: root/becommands/list.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2008-11-23 09:50:56 -0500
committerW. Trevor King <wking@drexel.edu>2008-11-23 09:50:56 -0500
commit510c9f33393c1f222ee56732c026f229ed8ae49d (patch)
treeba51973a3fd3eb5893d413f6c8b5a721867d26dc /becommands/list.py
parent333fc7968794deff9aa7a7a91d72cf17763df855 (diff)
downloadbugseverywhere-510c9f33393c1f222ee56732c026f229ed8ae49d.tar.gz
Go back to lazy bug loading to get execution speed back up.
Fixes bug b3c6da51-3a30-42c9-8c75-587c7a1705c5
Diffstat (limited to 'becommands/list.py')
-rw-r--r--becommands/list.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/becommands/list.py b/becommands/list.py
index 22d73d9..63e1cd6 100644
--- a/becommands/list.py
+++ b/becommands/list.py
@@ -36,7 +36,8 @@ def execute(args):
if len(args) > 0:
help()
raise cmdutil.UserError("Too many arguments.")
- bd = bugdir.BugDir(loadNow=True)
+ bd = bugdir.BugDir(from_disk=True)
+ bd.load_all_bugs()
# select status
if options.status != None:
if options.status == "all":
@@ -84,7 +85,7 @@ def execute(args):
assigned = "all"
for i in range(len(assigned)):
if assigned[i] == '-':
- assigned[i] = bd.rcs.get_user_id()
+ assigned[i] = bd.user_id
# select target
if options.target != None:
if options.target == "all":