Author: nion Date: 2007-11-13 15:37:14 +0000 (Tue, 13 Nov 2007) New Revision: 7294 Modified: bin/get-bug-status Log: add bug severity to output Modified: bin/get-bug-status ==================================================================--- bin/get-bug-status 2007-11-13 09:54:52 UTC (rev 7293) +++ bin/get-bug-status 2007-11-13 15:37:14 UTC (rev 7294) @@ -1,7 +1,7 @@ #!/usr/bin/ruby require ''soap/rpc/driver'' # Nico Golde <nion at debian.org> -# Latest change: Do Sep 20 20:13:27 CEST 2007 +# Latest change: Di Nov 13 16:37:13 CET 2007 # return fixed version or TODO: fix for given bug bug = ARGV[0].to_i @@ -21,9 +21,10 @@ fix = response[bug].fixed_versions[0].to_s tags = response[bug].tags.to_s +severity = response[bug].severity.to_s if fix == nil or fix == "" then - print "TODO: fix" + print "TODO: fix (" + severity + ")" if tags =~ /patch/ print ", patch available" end