aboutsummaryrefslogtreecommitdiffstats
path: root/becommands/remove.py
diff options
context:
space:
mode:
Diffstat (limited to 'becommands/remove.py')
-rw-r--r--becommands/remove.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/becommands/remove.py b/becommands/remove.py
index 7ba5e23..6fddb1f 100644
--- a/becommands/remove.py
+++ b/becommands/remove.py
@@ -28,7 +28,7 @@ def execute(args):
closed
>>> execute (["b"])
Removed bug b
- >>> bd.load()
+ >>> bd._clear_bugs()
>>> try:
... bd.bug_from_shortname("b")
... except KeyError:
@@ -38,7 +38,7 @@ def execute(args):
options, args = get_parser().parse_args(args)
if len(args) != 1:
raise cmdutil.UserError("Please specify a bug id.")
- bd = bugdir.BugDir(loadNow=True)
+ bd = bugdir.BugDir(from_disk=True)
bug = bd.bug_from_shortname(args[0])
bd.remove_bug(bug)
bd.save()