summaryrefslogtreecommitdiff
path: root/pylint/utils.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-08-25 21:14:04 +0300
committerClaudiu Popa <pcmanticore@gmail.com>2015-08-25 21:14:04 +0300
commit90755257e2a2c1a9b45b1a7e5470eef760fe6a90 (patch)
treed004de703f79460578795dd3fa98ce0adf64b4a4 /pylint/utils.py
parent5c8afd6b7472767e4fa4ab7d97b51a9afb80d3b2 (diff)
downloadpylint-90755257e2a2c1a9b45b1a7e5470eef760fe6a90.tar.gz
Remove trailing whitespaces and other pylint related issues.
Diffstat (limited to 'pylint/utils.py')
-rw-r--r--pylint/utils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pylint/utils.py b/pylint/utils.py
index 92d4fca..42f21d1 100644
--- a/pylint/utils.py
+++ b/pylint/utils.py
@@ -892,7 +892,7 @@ class PyLintASTWalker(object):
its children, then leave events.
"""
cid = astroid.__class__.__name__.lower()
-
+
# Detect if the node is a new name for a deprecated alias.
# In this case, favour the methods for the deprecated
# alias if any, in order to maintain backwards
@@ -900,7 +900,7 @@ class PyLintASTWalker(object):
# only the old ones will be called.
old_cid = DEPRECATED_ALIASES.get(cid)
visit_events = ()
- leave_events = ()
+ leave_events = ()
if old_cid:
visit_events = self.visit_events.get(old_cid)
@@ -916,7 +916,7 @@ class PyLintASTWalker(object):
for cb in visit_events or ():
cb(astroid)
# recurse on children
- for child in astroid.get_children():
+ for child in astroid.get_children():
self.walk(child)
for cb in leave_events or ():
cb(astroid)