#2031: buildbot try --with-properties truncates property vals with '='
---------------------+--------------------------
Reporter:  rmorison  |      Owner:
    Type:  defect    |     Status:  new
Priority:  minor     |  Milestone:  undecided
 Version:  0.8.4p1   |   Keywords:  try property
---------------------+--------------------------
 E.g.

 --with-properties=FLAGS=V=1

 passes 'FLAGS':'V', instead of 'FLAGS':'V=1'

 Simple patch fixes this:
 {{{
 --- 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
 }}}

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2031>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits

Reply via email to