From bca7a2a9311a5a23d98229d9918b13d66302537e Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 6 Dec 2009 03:11:39 -0500 Subject: [PATCH] becommands.target.bug_target(TARGET-BUG) now returns TARGET-BUG --- becommands/target.py | 2 ++ 1 file changed, 2 insertions(+) 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': -- 2.26.2