summaryrefslogtreecommitdiff
path: root/pylint/checkers/python3.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-04-02 17:13:07 +0300
committerClaudiu Popa <pcmanticore@gmail.com>2015-04-02 17:13:07 +0300
commite753a21c82b0b247644d422c99ae0752518a1e4e (patch)
tree5a13b234b7d7a83cfd9f5f481bcddc6bfc79ecbe /pylint/checkers/python3.py
parent05e723db5178fd7d49de3ec19e8b0bb28871a988 (diff)
parenta018224550059ab7144f5e504943a37196c36d34 (diff)
downloadpylint-e753a21c82b0b247644d422c99ae0752518a1e4e.tar.gz
Merged in raduciorba/pylint/unused-import (pull request #244)
#475 fix unused-import false positive when the import is used in a class assignment
Diffstat (limited to 'pylint/checkers/python3.py')
-rw-r--r--pylint/checkers/python3.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/checkers/python3.py b/pylint/checkers/python3.py
index 837cbef..ccffce7 100644
--- a/pylint/checkers/python3.py
+++ b/pylint/checkers/python3.py
@@ -448,7 +448,7 @@ class Python3Checker(checkers.BaseChecker):
args = node.args
elif (isinstance(node.func, astroid.Name)
- and node.func.name == 'sorted'):
+ and node.func.name == 'sorted'):
inferred = utils.safe_infer(node.func)
if not inferred:
return