Ticket #320: tbstatus-properties.patch

File tbstatus-properties.patch, 674 bytes (added by Pike, 4 years ago)

adjust call signature for WithProperties?

  • buildbot/status/tinderbox.py

    old new  
    172172            text += "%s build: %s\n" % (t, self.columnName) 
    173173        elif isinstance(self.columnName, WithProperties): 
    174174            # interpolate the WithProperties instance, use that 
    175             text += "%s build: %s\n" % (t, self.columnName.render(build)) 
     175            text += "%s build: %s\n" % (t, build.getProperties().render(self.columnName)) 
    176176        else: 
    177177            raise Exception("columnName is an unhandled value") 
    178178        text += "%s errorparser: %s\n" % (t, self.errorparser)