Ticket #892 (closed defect: fixed)
revision=None breaks console view
| Reported by: | Shish | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 0.8.2 |
| Version: | 0.8.0 | Keywords: | web |
| Cc: |
Description
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
Change History
Note: See
TracTickets for help on using
tickets.
![[Buildbot Logo]](/chrome/site/header-text-transparent.png)
maybe None could be replaced by sys.maxint?