[Buildbot-commits] [Buildbot] #2151: Buildbot adds an wrong argument to bzr command line

Buildbot nobody at buildbot.net
Wed Nov 23 06:13:22 UTC 2011


#2151: Buildbot adds an wrong argument to bzr command line
---------------------+------------------------
Reporter:  sleebin9  |       Owner:
    Type:  defect    |      Status:  new
Priority:  major     |   Milestone:  undecided
 Version:  0.8.5     |  Resolution:
Keywords:  bzr       |
---------------------+------------------------

Comment (by sleebin9):

 Buildbot generated a 'bzr checkout' command with an wrong option like

 {{{
 bzr checkout <location> . "['-r', u'3730']"
 }}}

   So buildslave was aborted by the wrong command.
   It was caused by a wrong function call in bzr.py.
   List.append appends an object treat. "['-r', self.revision]" is treated
 as
   an List object. List object's string output is '[elem1, elem2, ..]'.

   To solve the problem, List.extend instead of List.append is used.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2151#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list