diff options
| author | Sushobhit <31987769+sushobhit27@users.noreply.github.com> | 2018-05-30 06:20:25 +0530 |
|---|---|---|
| committer | Claudiu Popa <pcmanticore@gmail.com> | 2018-05-30 08:50:25 +0800 |
| commit | 71181d23d16ea04dd205fb16e2de0aed3eef98ed (patch) | |
| tree | d0a11a56840f4f858ee6975f11f52b30fbae153b /pylint/checkers/python3.py | |
| parent | 5aac757a6cd1736feb6c8ed100cca1950841d7f4 (diff) | |
| download | pylint-git-71181d23d16ea04dd205fb16e2de0aed3eef98ed.tar.gz | |
Completely remove six shims from the codebase
Diffstat (limited to 'pylint/checkers/python3.py')
| -rw-r--r-- | pylint/checkers/python3.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/pylint/checkers/python3.py b/pylint/checkers/python3.py index 196d12ba3..4795a7cb1 100644 --- a/pylint/checkers/python3.py +++ b/pylint/checkers/python3.py @@ -28,7 +28,6 @@ import tokenize import astroid from astroid import bases -import six from pylint import checkers, interfaces from pylint.interfaces import INFERENCE_FAILURE, INFERENCE @@ -951,10 +950,6 @@ class Python3Checker(checkers.BaseChecker): """Visit a raise statement and check for raising strings or old-raise-syntax. """ - if six.PY2: - if (node.exc is not None and - node.inst is not None): - self.add_message('old-raise-syntax', node=node) # Ignore empty raise. if node.exc is None: |
