[Lsb-messages] /var/www/bzr/lsb/devel/buildbot-config r208: Specify defaults for testing build properties for build type.
Jeff Licquia
licquia at linuxfoundation.org
Sat Feb 11 00:20:02 UTC 2012
------------------------------------------------------------
revno: 208
committer: Jeff Licquia <licquia at linuxfoundation.org>
branch nick: buildbot-config
timestamp: Fri 2012-02-10 19:20:02 -0500
message:
Specify defaults for testing build properties for build type.
modified:
lfbuildbot.py
-------------- next part --------------
=== modified file 'lfbuildbot.py'
--- a/lfbuildbot.py 2012-02-11 00:13:33 +0000
+++ b/lfbuildbot.py 2012-02-11 00:20:02 +0000
@@ -353,10 +353,10 @@
def _is_devel(self):
"Figure out whether we're being called on a devel tree."
- build_type = self.getProperty("build_type")
+ build_type = self.getProperty("build_type", "normal")
+ branch_name = self.getProperty("branch_name", "devel")
return build_type == "devel" or \
- (build_type == "normal" and
- self.getProperty("branch_name") == "devel")
+ (build_type == "normal" and branch_name == "devel")
def _is_beta(self):
"Figure out whether we're being called for a beta build."
More information about the lsb-messages
mailing list