aboutsummaryrefslogtreecommitdiffstats
path: root/becommands/depend.py
diff options
context:
space:
mode:
Diffstat (limited to 'becommands/depend.py')
-rw-r--r--becommands/depend.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/becommands/depend.py b/becommands/depend.py
index f52527e..044aaff 100644
--- a/becommands/depend.py
+++ b/becommands/depend.py
@@ -95,7 +95,7 @@ def execute(args, manipulate_encodings=True):
for blockee,blocker in fixed])
return 0
- bugA = cmdutil.bug_from_shortname(bd, args[0])
+ bugA = cmdutil.bug_from_id(bd, args[0])
if options.tree_depth != None:
dtree = DependencyTree(bd, bugA, options.tree_depth)
@@ -112,7 +112,7 @@ def execute(args, manipulate_encodings=True):
return 0
if len(args) == 2:
- bugB = cmdutil.bug_from_shortname(bd, args[1])
+ bugB = cmdutil.bug_from_id(bd, args[1])
if options.remove == True:
remove_block(bugA, bugB)
else: # add the dependency