~mabac/launchpad-work-items-tracker/visible-lane-selector

« back to all changes in this revision

Viewing changes to burndown-chart

  • Committer: James Westby
  • Date: 2011-09-06 13:09:55 UTC
  • Revision ID: james.westby@linaro.org-20110906130955-tpdxfjyhtodozz6d
Remove the debugging from burndown-chart.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
    lastactive = 0
45
45
    pcdata = []
46
46
 
47
 
    print start_date
48
 
    print end_date
49
47
    for date in xrange(date_to_ordinal(start_date), date_to_ordinal(end_date)+1):
50
48
        if (not only_weekdays or datetime.date.fromordinal(date).weekday() < 5):
51
49
            end_date = ordinal_to_date(date)
285
283
 
286
284
# get date -> state -> count mapping
287
285
data = report_tools.workitems_over_time(db, team=opts.team, group=opts.group, milestone_collection=milestone_collection)
288
 
print len(data)
289
286
 
290
287
if len(data) == 0:
291
288
    print 'WARNING: no work items, not generating chart (team: %s, group: %s, due date: %s)' % (