aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-12-06 03:11:39 -0500
committerW. Trevor King <wking@drexel.edu>2009-12-06 03:11:39 -0500
commitbca7a2a9311a5a23d98229d9918b13d66302537e (patch)
tree2a617cadd97bb1013d79184d5558468434a19c75
parent61010c1c6b055ef8fd33b01c088e3d095914e89a (diff)
downloadbugseverywhere-bca7a2a9311a5a23d98229d9918b13d66302537e.tar.gz
becommands.target.bug_target(TARGET-BUG) now returns TARGET-BUG
-rw-r--r--becommands/target.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/becommands/target.py b/becommands/target.py
index fbc4b37..9ccbacc 100644
--- a/becommands/target.py
+++ b/becommands/target.py
@@ -138,6 +138,8 @@ def bug_from_target_summary(bugdir, summary=None):
return matched[0]
def bug_target(bugdir, bug):
+ if bug.severity == 'target':
+ return bug
matched = []
for blocked in depend.get_blocks(bugdir, bug):
if blocked.severity == 'target':