Modify ↓
      
        Opened 19 years ago
Closed 19 years ago
#565 closed defect (fixed)
burndown_job.py fails if burndown table is empty
| Reported by: | anonymous | Owned by: | Sam Bloomquist | 
|---|---|---|---|
| Priority: | normal | Component: | ScrumBurndownPlugin | 
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.9 | 
Description
because this line
print 'burndown: %i, %s, %s, %s, %i' % (db.get_last_id(cursor, 'burndown'), comp[0], mile[0], today, hours)
expects an integer, but db.get_last_id(cursor, 'burndown') does not return one if table burndown is emtpy the script fails.
Attachments (0)
Note: See
        TracTickets for help on using
        tickets.
    


(In [1122]) Applied patch submitted by mike@…. fixes #554, #565, #566