Chris Cormack 750ddfe35a Fix for KeyError being generated if a month has commits but for some reason no lines changed
Example of exception

[1.17747] >> gnuplot --version
Traceback (most recent call last):
  File "./gitstats", line 1373, in <module>
      g.run(sys.argv[1:]
  File "./gitstats", line 1365, in run
     report.create(data, outputpath)
  File "./gitstats", line 841, in create
     f.write('<tr><td>%s</td><td>%d</td><td>%d</td><td>%d</td></tr>' % (yymm, data.commits_by_month[yymm], data.lines_added_by_month[yymm],
   data.lines_removed_by_month[yymm]))
KeyError: '2010-08'

Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
2011-09-28 19:27:06 +03:00
2011-02-18 17:33:36 +02:00
Description
No description provided
323 KiB
Languages
Python 79.8%
JavaScript 15.7%
CSS 2.7%
Makefile 1.8%