[Buildbot-commits] [Buildbot] #2031: buildbot try --with-properties truncates property vals with '='

Buildbot nobody at buildbot.net
Thu Jun 30 22:40:16 UTC 2011


#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


More information about the Commits mailing list