Refactored stats.py to use a main function
commitfb3f9a651c15bcf004aa4e7485338eff9b6a3d19
authorSverre Rabbelier <sverre@rabbelier.nl>
Fri, 11 Jul 2008 15:45:58 +0000 (11 17:45 +0200)
committerSverre Rabbelier <sverre@rabbelier.nl>
Fri, 11 Jul 2008 15:45:58 +0000 (11 17:45 +0200)
tree33ee688ec4fc189cbb862fd2c0357b520e42c498
parent554f8e45e88a42f21a13905fe648f55cde96d94a
Refactored stats.py to use a main function

This makes it easier to call stats.py's main through exec
and as such to profile it with programs as cProfile.
src/stats.py