Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting following stack when django-linter fired #2

Closed
sanketsudake opened this issue Aug 19, 2015 · 3 comments
Closed

Getting following stack when django-linter fired #2

sanketsudake opened this issue Aug 19, 2015 · 3 comments

Comments

@sanketsudake
Copy link

$ django-linter managerQ
Traceback (most recent call last):
File "/usr/local/bin/django-linter", line 11, in
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/django_linter/main.py", line 26, in main
linter.check(args.targets)
File "/usr/local/lib/python2.7/dist-packages/pylint/lint.py", line 747, in check
self._do_check(files_or_modules)
File "/usr/local/lib/python2.7/dist-packages/pylint/lint.py", line 869, in _do_check
self.check_astroid_module(ast_node, walker, rawcheckers, tokencheckers)
File "/usr/local/lib/python2.7/dist-packages/pylint/lint.py", line 946, in check_astroid_module
walker.walk(ast_node)
File "/usr/local/lib/python2.7/dist-packages/pylint/utils.py", line 874, in walk
self.walk(child)
File "/usr/local/lib/python2.7/dist-packages/pylint/utils.py", line 874, in walk
self.walk(child)
File "/usr/local/lib/python2.7/dist-packages/pylint/utils.py", line 874, in walk
self.walk(child)
File "/usr/local/lib/python2.7/dist-packages/pylint/utils.py", line 874, in walk
self.walk(child)
File "/usr/local/lib/python2.7/dist-packages/pylint/utils.py", line 874, in walk
self.walk(child)
File "/usr/local/lib/python2.7/dist-packages/pylint/utils.py", line 871, in walk
cb(astroid)
File "/usr/local/lib/python2.7/dist-packages/django_linter/checkers/views.py", line 71, in visit_getattr
if parent.attrname == 'get':
AttributeError: 'Assign' object has no attribute 'attrname'

geerk pushed a commit that referenced this issue Aug 20, 2015
@geerk
Copy link
Owner

geerk commented Aug 20, 2015

@Tripples thanks for bugreport, I've fixed this bug in 0.6.dev2, you can try it installing directly from github:
pip install git+https://github.com/geerk/django_linter.git

@sanketsudake
Copy link
Author

Thanks. I shall check and let you know.

@sanketsudake
Copy link
Author

@geerk Update module. Issue is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants