summaryrefslogtreecommitdiff
path: root/checkers/variables.py
diff options
context:
space:
mode:
authorSylvain <syt@logilab.fr>2009-03-17 20:45:28 +0100
committerSylvain <syt@logilab.fr>2009-03-17 20:45:28 +0100
commit1f434f33a3a4dcd894431d5a90e4d34b5e675836 (patch)
tree4fdd0bdfa493c0aa1491c985a182b464415b0bcb /checkers/variables.py
parent915bf8b0f6bb5e74e68e4aa04226057f36c31f98 (diff)
downloadpylint-1f434f33a3a4dcd894431d5a90e4d34b5e675836.tar.gz
oops
Diffstat (limited to 'checkers/variables.py')
-rw-r--r--checkers/variables.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/checkers/variables.py b/checkers/variables.py
index cf9509a..eece8f6 100644
--- a/checkers/variables.py
+++ b/checkers/variables.py
@@ -41,7 +41,7 @@ def overridden_method(klass, name):
# We have found an ancestor defining <name> but it's not in the local
# dictionary. This may happen with astng built from living objects.
return None
- if isinstance(meth_node, Function):
+ if isinstance(meth_node, astng.Function):
return meth_node
return None