Rev 62: Use a better buildstate check. in http://people.canonical.com/~robertc/baz2.0/plugins/builder/blocking

Robert Collins robertc at robertcollins.net
Fri Oct 23 08:03:12 BST 2009


At http://people.canonical.com/~robertc/baz2.0/plugins/builder/blocking

------------------------------------------------------------
revno: 62
revision-id: robertc at robertcollins.net-20091023070311-00ctfa4iqwfchs95
parent: robertc at robertcollins.net-20091023065525-h8plfxcyngg1o1zq
committer: Robert Collins <robertc at robertcollins.net>
branch nick: blocking
timestamp: Fri 2009-10-23 18:03:11 +1100
message:
  Use a better buildstate check.
=== modified file 'ppa.py'
--- a/ppa.py	2009-10-23 06:55:25 +0000
+++ b/ppa.py	2009-10-23 07:03:11 +0000
@@ -95,7 +95,7 @@
             builds = pkg.getBuilds()
             for build in builds:
                 if build.arch_tag in important_arches:
-                    if build.buildstate == 'Failed to build':
+                    if build.buildstate != 'Successfully built':
                         result = 2
         else:
             result = 2




More information about the bazaar-commits mailing list