Ticket #958 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

Console: isRevisionEarlier assumes first and second are not None

Reported by: wms Owned by:
Priority: major Milestone: 0.8.2
Version: 0.8.1 Keywords: web
Cc: wsiegrist@…

Description

In status/web/console.py, IntegerRevisionComparator::isRevisionEarlier() assumes first and second args are not None. Since it is possible to have builds with no revision value, this function should probably guard against doing int(None) which results in a TypeError? exception.

Change History

comment:1 Changed 3 years ago by dustin

  • Keywords web added; console removed
  • Milestone changed from undecided to 0.8.2

comment:2 Changed 3 years ago by dustin

  • Status changed from new to closed
  • Resolution set to duplicate

dup #892

Note: See TracTickets for help on using tickets.