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
commitfcadcc2ea44651540f1118778a3826bbd4afec48 (patch)
tree468a01191cabfd4570de721bf96b13da270fbd9e /astroid/arguments.py
parent63279b80d9e2bde7ae463c7a90e072432980dd37 (diff)
downloadastroid-fcadcc2ea44651540f1118778a3826bbd4afec48.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 e80f5f4..ab841a9 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, ))