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 | 7adcc17de118e24f7387f33d051a7846bf69b6d1 (patch) | |
tree | f8133d84cfc9e2ee1270296ae53b7333f7e6b065 /bin/get-bug-status | |
parent | b9f4ba90078f1992f4214d834121a981a9a74fc8 (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 |