From 7a85bf7dea37fc2ab733dc2d2eb5392c8f17a1ce Mon Sep 17 00:00:00 2001 From: Nico Golde Date: Sun, 23 Sep 2007 13:18:01 +0000 Subject: recognize if a patch is available git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@6679 e39458fd-73e7-0310-bf30-c45bca0a0e42 --- bin/get-bug-status | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'bin/get-bug-status') diff --git a/bin/get-bug-status b/bin/get-bug-status index 68090082ce..33afbb9d3c 100755 --- a/bin/get-bug-status +++ b/bin/get-bug-status @@ -20,9 +20,14 @@ if response[bug] == nil then end fix = response[bug].fixed_versions[0].to_s +tags = response[bug].tags.to_s if fix == nil or fix == "" then - puts "TODO: fix" + if tags =~ /patch/ + puts "TODO: fix, patch available" + else + puts "TODO: fix" + end else puts "TODO: mark as fixed in " + fix end -- cgit v1.2.3