diff options
author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2006-11-23 17:26:30 +0100 |
---|---|---|
committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2006-11-23 17:26:30 +0100 |
commit | dfceba56d21c5ab9852081a1b4e2083566394ca5 (patch) | |
tree | 76f24d71975cb497db7394b4e79afbfd41cb33e2 /checkers | |
parent | 14d1cad489103597c573f1437a05be9726718c1e (diff) | |
download | pylint-git-dfceba56d21c5ab9852081a1b4e2083566394ca5.tar.gz |
fix for a ginco crash
Diffstat (limited to 'checkers')
-rw-r--r-- | checkers/classes.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/checkers/classes.py b/checkers/classes.py index d82362928..544eb0d82 100644 --- a/checkers/classes.py +++ b/checkers/classes.py @@ -206,6 +206,8 @@ instance attributes.'} if node.name == '__init__': self._check_init(node) return + if not isinstance(klass, astng.Class): + return # check signature if the method overrload an herited method for overridden in klass.local_attr_ancestors(node.name): # get astng for the searched method |