From 510c9f33393c1f222ee56732c026f229ed8ae49d Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 23 Nov 2008 09:50:56 -0500 Subject: Go back to lazy bug loading to get execution speed back up. Fixes bug b3c6da51-3a30-42c9-8c75-587c7a1705c5 --- becommands/list.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'becommands/list.py') 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": -- cgit