legion0 / kjlib-python

Reusable python modules and classes
1 stars 0 forks source link

log_level_choices is missing definition in main kj_log_reader #2

Open hemulin opened 8 years ago

hemulin commented 8 years ago

Well, the title says it all.

When trying to run the kj_log_reader, the following exception is raised: File "/usr/local/lib/python2.7/dist-packages/kjlib-3.0.0-py2.7.egg/kjlib/log_reader.py", line 23, in main max_log_level_width = max([len(x) for x in log_level_choices]) NameError: global name 'log_level_choices' is not defined