Remove trailing whitespace.

authorClaudiu Popa <pcmanticore@gmail.com>
changesetb3032b9393fa
branchdefault
phasepublic
hiddenno
parent revision#9b3cbdb52788 pylint/config.py: Add another check of the current working directory for `.pylintrc`.
child revision#6d2f2e21053d Give a nice error message when Graphviz is not installed. Closes issue #168.
files modified by this revision
pylint/checkers/newstyle.py
# HG changeset patch
# User Claudiu Popa <pcmanticore@gmail.com>
# Date 1449568597 -7200
# Tue Dec 08 11:56:37 2015 +0200
# Node ID b3032b9393fa0d9b8005a71c4421a9857f21b01b
# Parent 9b3cbdb52788fd812e7d125ef8cbca5193c4ed8c
Remove trailing whitespace.

diff --git a/pylint/checkers/newstyle.py b/pylint/checkers/newstyle.py
@@ -127,11 +127,11 @@
1              if not (isinstance(call, astroid.Call) and
2                      isinstance(call.func, astroid.Name) and
3                      call.func.name == 'super'):
4                  continue
5 
6 -            if not klass.newstyle and has_known_bases(klass):                
7 +            if not klass.newstyle and has_known_bases(klass):
8                  # super should not be used on an old style class
9                  self.add_message('super-on-old-class', node=node)
10              else:
11                  # super first arg should be the class
12                  if not call.args and sys.version_info[0] == 3: