diff options
author | Nico Golde <nion@debian.org> | 2007-11-13 15:37:14 +0000 |
---|---|---|
committer | Nico Golde <nion@debian.org> | 2007-11-13 15:37:14 +0000 |
commit | 5c2930bd9cc61709ab7a6d83497e4daabd81f8de (patch) | |
tree | 5ab04f4348ebd40fb9b8a8c1db076f90966c43fc /bin/get-bug-status | |
parent | 1deed5aec8211b1a0050917b83f014c8cc73731f (diff) |
add bug severity to output
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@7294 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'bin/get-bug-status')
-rwxr-xr-x | bin/get-bug-status | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/get-bug-status b/bin/get-bug-status index b04c420af8..f2ceb08e0b 100755 --- a/bin/get-bug-status +++ b/bin/get-bug-status @@ -1,7 +1,7 @@ #!/usr/bin/ruby require 'soap/rpc/driver' # Nico Golde <nion@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 @@ end 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 |