diff options
author | W. Trevor King <wking@drexel.edu> | 2009-12-06 03:11:39 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-12-06 03:11:39 -0500 |
commit | bca7a2a9311a5a23d98229d9918b13d66302537e (patch) | |
tree | 2a617cadd97bb1013d79184d5558468434a19c75 | |
parent | 61010c1c6b055ef8fd33b01c088e3d095914e89a (diff) | |
download | bugseverywhere-bca7a2a9311a5a23d98229d9918b13d66302537e.tar.gz |
becommands.target.bug_target(TARGET-BUG) now returns TARGET-BUG
-rw-r--r-- | becommands/target.py | 2 |
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': |