summaryrefslogtreecommitdiff
path: root/astroid/arguments.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-11-04 12:58:43 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2015-11-04 12:58:43 +0200
commit86263c86c07cb47337a2f15174844fb60ed4d2d3 (patch)
tree05d334625b5fade62acd184091b14e20fcb5721e /astroid/arguments.py
parent2dee604a1e2ff2f007021f8857386055766acd71 (diff)
downloadastroid-git-86263c86c07cb47337a2f15174844fb60ed4d2d3.tar.gz
Fix pylint warnings.
Diffstat (limited to 'astroid/arguments.py')
-rw-r--r--astroid/arguments.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/astroid/arguments.py b/astroid/arguments.py
index e80f5f40..ab841a9c 100644
--- a/astroid/arguments.py
+++ b/astroid/arguments.py
@@ -183,12 +183,12 @@ class CallSite(object):
else:
# XXX can do better ?
boundnode = funcnode.parent.frame()
-
+
if isinstance(boundnode, nodes.ClassDef):
# Verify that we're accessing a method
# of the metaclass through a class, as in
# `cls.metaclass_method`. In this case, the
- # first argument is always the class.
+ # first argument is always the class.
method_scope = funcnode.parent.scope()
if method_scope is boundnode.metaclass():
return iter((boundnode, ))