aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command/target.py
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/command/target.py')
-rw-r--r--libbe/command/target.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/command/target.py b/libbe/command/target.py
index 20ffb57..9f76303 100644
--- a/libbe/command/target.py
+++ b/libbe/command/target.py
@@ -99,7 +99,7 @@ class Target (libbe.command.Command):
bugdirs = self._get_bugdirs()
if params['resolve'] == True:
if params['bugdir']:
- bugdir = bugdirs[bugdir]
+ bugdir = bugdirs[params['bugdir']]
elif len(bugdirs) == 1:
bugdir = bugdirs.values()[0]
else: