Skip to content
This repository has been archived by the owner on Nov 11, 2020. It is now read-only.

Fixed issue #4 #6

Merged
merged 1 commit into from Jan 23, 2012
Merged

Fixed issue #4 #6

merged 1 commit into from Jan 23, 2012

Conversation

vladimiroff
Copy link
Contributor

Traceback (most recent call last):
  File "/home/users/patrys/.local/bin/django-lint", line 9, in <module>
    load_entry_point('django-lint==0.0.0', 'console_scripts', 'django-lint')()
  File "/home/users/patrys/lab/django-lint/DjangoLint/script.py", line 139, in main
    linter.check([target])
  File "/home/users/patrys/.local/lib64/python2.7/site-packages/pylint/lint.py", line 493, in check
    self.check_astng_module(astng, walker, rawcheckers)
  File "/home/users/patrys/.local/lib64/python2.7/site-packages/pylint/lint.py", line 567, in check_astng_module
    walker.walk(astng)
  File "/home/users/patrys/.local/lib64/python2.7/site-packages/pylint/utils.py", line 520, in walk
    self.walk(child)
  File "/home/users/patrys/.local/lib64/python2.7/site-packages/pylint/utils.py", line 520, in walk
    self.walk(child)
  File "/home/users/patrys/.local/lib64/python2.7/site-packages/pylint/utils.py", line 517, in walk
    cb(astng)
  File "/home/users/patrys/lab/django-lint/DjangoLint/AstCheckers/model_methods.py", line 127, in visit_class
    if is_model(node):
  File "/home/users/patrys/lab/django-lint/DjangoLint/AstCheckers/utils.py", line 25, in is_model
    return nodeisinstance(node, ('django.db.models.base.Model',), **kwargs)
  File "/home/users/patrys/lab/django-lint/DjangoLint/AstCheckers/utils.py", line 44, in nodeisinstance
    for node in nodes:
TypeError: '_Yes' object is not iterable

lamby added a commit that referenced this pull request Jan 23, 2012
@lamby lamby merged commit 194ce26 into lamby:master Jan 23, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants