aboutsummaryrefslogtreecommitdiffstats
path: root/becommands/close.py
diff options
context:
space:
mode:
Diffstat (limited to 'becommands/close.py')
-rw-r--r--becommands/close.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/becommands/close.py b/becommands/close.py
index 2cdcb59..d65c4e0 100644
--- a/becommands/close.py
+++ b/becommands/close.py
@@ -45,7 +45,7 @@ def execute(args, manipulate_encodings=True):
raise cmdutil.UsageError("Too many arguments.")
bd = bugdir.BugDir(from_disk=True,
manipulate_encodings=manipulate_encodings)
- bug = cmdutil.bug_from_shortname(bd, args[0])
+ bug = cmdutil.bug_from_id(bd, args[0])
bug.status = "closed"
bd.save()