Changeset 71:c8e39db35e46 in stamper for stamper/stamper.py
- Timestamp:
- Sep 5, 2019, 4:38:38 PM (5 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stamper/stamper.py
r69 r71 292 292 # daily totals 293 293 print('daily total: %(total)s' % {'total': totals[day]}) 294 print '-'*79294 print('-'*79) 295 295 296 296 # now calculate the totals and show them … … 318 318 if totals: 319 319 print('------ Totals ------' % {'day': day}) 320 for day, tot in totals.ite ritems():320 for day, tot in totals.items(): 321 321 print(' %(day)s: %(total)s' % {'day': day, 'total': tot}) 322 322 sum_tot = "%(total)s %(new)s" % {
Note:
See TracChangeset
for help on using the changeset viewer.