[Secure-testing-commits] r6679 - bin

nion at alioth.debian.org nion at alioth.debian.org
Sun Sep 23 13:18:01 UTC 2007


Author: nion
Date: 2007-09-23 13:18:01 +0000 (Sun, 23 Sep 2007)
New Revision: 6679

Modified:
   bin/get-bug-status
Log:
recognize if a patch is available


Modified: bin/get-bug-status
===================================================================
--- bin/get-bug-status	2007-09-23 13:02:40 UTC (rev 6678)
+++ bin/get-bug-status	2007-09-23 13:18:01 UTC (rev 6679)
@@ -20,9 +20,14 @@
 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




More information about the Secure-testing-commits mailing list