summaryrefslogtreecommitdiff
path: root/pylint/checkers/base.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-11-21 19:42:08 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2015-11-21 19:42:08 +0200
commite648e23980d361c8504d41d6b94f9659199ce060 (patch)
tree128e27f0d35d60ed78c3f291ec30abf4a67f982e /pylint/checkers/base.py
parent770dd9e70b7235e6268fb4581f1db23ab18c6cd7 (diff)
downloadpylint-e648e23980d361c8504d41d6b94f9659199ce060.tar.gz
Cleanup pylint issues
This changeset also brings a couple of changes: * rrheaders and rcheaders are dropped from html_writer.Table's constructor. They weren't used at all and it was dead code. This simplified some if statements. * _is_attribute_property is used to look for a property assignment instead on relying on a different implementation.
Diffstat (limited to 'pylint/checkers/base.py')
-rw-r--r--pylint/checkers/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/checkers/base.py b/pylint/checkers/base.py
index 001a70c..cc7c786 100644
--- a/pylint/checkers/base.py
+++ b/pylint/checkers/base.py
@@ -1678,7 +1678,7 @@ class ElifChecker(BaseTokenChecker):
@staticmethod
def _is_bool_const(node):
return (isinstance(node.value, astroid.Const)
- and isinstance(node.value.value, bool))
+ and isinstance(node.value.value, bool))
def _is_actual_elif(self, node):
"""Check if the given node is an actual elif