[Buildbot-devel] buildbot try --properties=FLAGS="V=1"

Rod Morison rod at morison.biz
Thu Jun 30 22:28:40 UTC 2011


On 06/30/2011 03:10 PM, Rod Morison wrote:
> With the command line "buildbot try" --properties flags, is there a way
> to set a property with an '=' in the value, e.g.,
>
> buildbot try --properties=FLAGS="V=1"
>
> ?
>
--- scripts/runner.py   2011-06-30 15:20:42.690032071 -0700
+++ scripts/runner-fix.py       2011-06-30 15:16:33.970031595 -0700
@@ -1042,7 +1042,7 @@
          propertylist = option.split(",")
          for i in range(0,len(propertylist)):
              print propertylist[i]
-            splitproperty = propertylist[i].split("=")
+            splitproperty = propertylist[i].split("=", 1)
              properties[splitproperty[0]] = splitproperty[1]
          self['properties'] = properties


seems to fix it. What's the patch request procedure?

tnx,

R
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20110630/0c973d5e/attachment.html>


More information about the devel mailing list