summaryrefslogtreecommitdiffstats
path: root/bin/get-bug-status
diff options
context:
space:
mode:
authorNico Golde <nion@debian.org>2007-11-13 15:37:14 +0000
committerNico Golde <nion@debian.org>2007-11-13 15:37:14 +0000
commit8250d38bb09be89a89dc57e2c5d968400ee1b561 (patch)
tree125e82f8dc498d2da663c72f7d8e61f786738c2f /bin/get-bug-status
parenta77e3196014992792fe9a0d9a53eb3a8a0ce0ba7 (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-xbin/get-bug-status5
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

© 2014-2024 Faster IT GmbH | imprint | privacy policy