diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-11-30 15:50:45 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-11-30 15:50:45 +0200 |
commit | 304ae035b9b5e42bb1eb65baecc58d5c9b5ab14d (patch) | |
tree | 288b376b968f1aa3d5df2592a11e53e8857ef2c6 /pylint/extensions | |
parent | f0e5799175980963b1dc8c2e3e068f022917c4bf (diff) | |
download | pylint-304ae035b9b5e42bb1eb65baecc58d5c9b5ab14d.tar.gz |
Fix a crash which occurred when old visit methods are encountered
in plugin modules.
If a plugin uses an old visit method (visit_class for instance), this can lead
to a crash in pylint's base checkers, because the logic in the PylintASTWalker
assumes that all checkers have a visit_class / leave_class method. The
patch fixes this by looking for both names.
Closes issue #711.
Diffstat (limited to 'pylint/extensions')
0 files changed, 0 insertions, 0 deletions