Closed kchodorow closed 12 years ago
Error: Unable to read file ~/Downloads/1.log
Exiting
Traceback (most recent call last):
File "logl.py", line 255, in <module>
main()
File "logl.py", line 136, in main
for line in f:
UnboundLocalError: local variable 'f' referenced before assignment
If someone gives an unreadable/non-existent file on the cmd line, right now it gives a stack trace:
Should error out, probably, but with a nice message.