aboutsummaryrefslogtreecommitdiffstats
path: root/becommands/target.py
diff options
context:
space:
mode:
Diffstat (limited to 'becommands/target.py')
-rw-r--r--becommands/target.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/becommands/target.py b/becommands/target.py
index 541918c..5d0453a 100644
--- a/becommands/target.py
+++ b/becommands/target.py
@@ -54,7 +54,7 @@ def execute(args, manipulate_encodings=True):
if target and isinstance(target,str):
print target
return
- bug = bd.bug_from_shortname(args[0])
+ bug = cmdutil.bug_from_shortname(bd, args[0])
if len(args) == 1:
if bug.target is None:
print "No target assigned."