#2136 make-lint crashes with pylint 0.24
Closed: Fixed None Opened 12 years ago by jcholast.

Fedora 16 uses pylint 0.24, which make-lint doesn't seem to work with:

Traceback (most recent call last):
  File "./make-lint", line 239, in <module>
    sys.exit(main())
  File "./make-lint", line 210, in main
    linter.check(files)
  File "/usr/lib/python2.7/site-packages/pylint/lint.py", line 493, in check
    self.check_astng_module(astng, walker, rawcheckers)
  File "/usr/lib/python2.7/site-packages/pylint/lint.py", line 565, in check_astng_module
    walker.walk(astng)
  File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 524, in walk
    self.walk(child)
  File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 524, in walk
    self.walk(child)
  File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 524, in walk
    self.walk(child)
  File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 524, in walk
    self.walk(child)
  File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 524, in walk
    self.walk(child)
  File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 524, in walk
    self.walk(child)
  File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 524, in walk
    self.walk(child)
  File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 524, in walk
    self.walk(child)
  File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 521, in walk
    cb(astng)
  File "./make-lint", line 98, in visit_getattr
    ignored = self._find_ignored_attrs(owner)
  File "./make-lint", line 82, in _find_ignored_attrs
    for klass in self._related_classes(owner):
  File "./make-lint", line 74, in _related_classes
    for base in klass.ancestors():
  File "/usr/lib/python2.7/site-packages/logilab/astng/bases.py", line 48, in __getattr__
    return getattr(self._proxied, name)
AttributeError: 'Function' object has no attribute 'ancestors'

Metadata Update from @jcholast:
- Issue assigned to jcholast
- Issue set to the milestone: FreeIPA 3.0 Core Effort - 2011/11

7 years ago

Login to comment on this ticket.

Metadata