when having the following construction in a python file:
from .. import <something>
I get the following traceback:
Traceback (most recent call last):
File "C:\Python27\Scripts\pylint", line 4, in <module>
lint.Run(sys.argv[1:])
File "c:\Python27\lib\site-packages\pylint\lint.py", line 856, in __init__
linter.check(args)
File "c:\Python27\lib\site-packages\pylint\lint.py", line 488, in check
self.check_astng_module(astng, walker, rawcheckers)
File "c:\Python27\lib\site-packages\pylint\lint.py", line 563, in check_astng_module
walker.walk(astng)
File "c:\Python27\lib\site-packages\pylint\utils.py", line 516, in walk
self.walk(child)
File "c:\Python27\lib\site-packages\pylint\utils.py", line 513, in walk
cb(astng)
File "c:\Python27\lib\site-packages\pylint\checkers\variables.py", line 424, in visit_from
name_parts = node.modname.split('.')
AttributeError: 'NoneType' object has no attribute 'split'
|