pylint #5634 pylint crashes if a wrong filename is given on the command line [resolved]
reported by V. Chukharev: $ pylint name_of_a_nonexisting_file No config file found, using default configuration Traceback (most recent call last): File "/usr/local/bin/pylint", line 4, in <module> lint.Run(sys.argv[1:]) File "/usr/local/lib/python2.5/site-packages/pylint/lint.py", line 901, in __init__ linter.check(args) File "/usr/local/lib/python2.5/site-packages/pylint/lint.py", line 457, in check filemods = self.expand_files(files_or_modules) File "/usr/local/lib/python2.5/site-packages/pylint/lint.py", line 527, in expand_files self.set_current_module(modname) File "/usr/local/lib/python2.5/site-packages/pylint/lint.py", line 552, in set_current_module self.stats['by_module'][modname] = {} TypeError: 'NoneType' object is unsubscriptable | |
priority | normal |
---|---|
type | bug |
done in | 0.16.0 |
load | 0.000 |
load left | 0.000 |
closed by | <not specified> |