#4475 pylint reports errors on Fedora 20 build of ipa-3-3 branch
Closed: Fixed None Opened 9 years ago by mkosek.

$ ./make-lint 
Traceback (most recent call last):
  File "./make-lint", line 272, in <module>
    sys.exit(main())
  File "./make-lint", line 243, in main
    linter.check(files)
  File "/usr/lib/python2.7/site-packages/pylint/lint.py", line 626, in check
    self.check_astroid_module(astroid, walker, rawcheckers, tokencheckers)
  File "/usr/lib/python2.7/site-packages/pylint/lint.py", line 712, in check_astroid_module
    walker.walk(astroid)
  File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 715, in walk
    self.walk(child)
  File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 715, in walk
    self.walk(child)
  File "/usr/lib/python2.7/site-packages/pylint/utils.py", line 712, in walk
    cb(astroid)
  File "/usr/lib/python2.7/site-packages/pylint/checkers/newstyle.py", line 135, in visit_function
    args=(call.args[0].name, ))
AttributeError: 'Getattr' object has no attribute 'name'

Honza will look at this one.

This is a pylint bug: https://bugzilla.redhat.com/show_bug.cgi?id=1126815

Apply commit [changeset:295ce7b 295ce7b] as a workaround.

Metadata Update from @mkosek:
- Issue assigned to jcholast
- Issue set to the milestone: FreeIPA 3.3.6 (bug fixing)

7 years ago

Login to comment on this ticket.

Metadata