Traceback (most recent call last):
File "./ghtrack.py", line 70, in <module>
rc = command.execute()
File "/Users/maximilien/github/ghtrack/cli.py", line 630, in execute
rc = func()
File "/Users/maximilien/github/ghtrack/cli.py", line 767, in stats
self._update_users_commits()
File "/Users/maximilien/github/ghtrack/cli.py", line 416, in _update_users_commits
self._update_repo_stats('commits', self.users_commits)
File "/Users/maximilien/github/ghtrack/cli.py", line 326, in _update_repo_stats
self.repos_stats[repo_name][data] += user_data_map[repo_name]
KeyError: 'commits'
Expected behavior
no errors
Steps to reproduce the problem
issue command above. If you include --show-all-stats then command executes fine.
Bug report
results in
Expected behavior
no errors
Steps to reproduce the problem
issue command above. If you include
--show-all-stats
then command executes fine../ght version
Python version
Python 2.7.15