[Buildbot-commits] [SPAM] [Buildbot] #892: revision=None breaks console view

Buildbot buildbot-devel at lists.sourceforge.net
Tue Jun 15 11:41:51 UTC 2010


#892: revision=None breaks console view
-------------------+--------------------------------------------------------
Reporter:  Shish   |       Owner:           
    Type:  defect  |      Status:  new      
Priority:  major   |   Milestone:  undecided
 Version:  0.8.0   |    Keywords:           
-------------------+--------------------------------------------------------
 while setting up a change notification hook I managed to invoke buildbot
 sendchange with no --revision flag, thus revision=None got sent and broke
 various things. Correcting the command and running again most stuff now
 works, but console view is still breaking with the error "int() argument
 must be a string or a number, not 'NoneType'". The code triggering the
 error is:

 {{{
 .../buildbot-0.8.0-py2.5.egg/buildbot/status/web/console.py, line 687 in
 isRevisionEarlier
 685class IntegerRevisionComparator(RevisionComparator):
 686  def isRevisionEarlier(self, first, second):
 687    return int(first.revision) < int(second.revision)
 688
 }}}

-- 
Ticket URL: <http://buildbot.net/trac/ticket/892>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list