summaryrefslogtreecommitdiff
path: root/pylint/message
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2019-09-12 14:10:27 +0300
committerClaudiu Popa <pcmanticore@gmail.com>2019-09-12 06:10:27 -0500
commitb72c0dd9a3ee5c992f94937b58de3b2153f4624d (patch)
tree1161dcf81f4c8a81c1af254e164d92596437f3d1 /pylint/message
parent0b947809fc018963fce1745cda89649e6d66d0c7 (diff)
downloadpylint-git-b72c0dd9a3ee5c992f94937b58de3b2153f4624d.tar.gz
Remove redundant compatibility code (#3097)
We no longer support Python 2 so we can remove the compatibility code we had in place for that version.
Diffstat (limited to 'pylint/message')
-rw-r--r--pylint/message/message_definition_store.py2
-rw-r--r--pylint/message/message_handler_mix_in.py2
2 files changed, 0 insertions, 4 deletions
diff --git a/pylint/message/message_definition_store.py b/pylint/message/message_definition_store.py
index ef0d8e2ee..f7d87b6d1 100644
--- a/pylint/message/message_definition_store.py
+++ b/pylint/message/message_definition_store.py
@@ -3,8 +3,6 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/master/COPYING
-from __future__ import print_function
-
import collections
from pylint.exceptions import UnknownMessageError
diff --git a/pylint/message/message_handler_mix_in.py b/pylint/message/message_handler_mix_in.py
index ad2bda045..813cdd71a 100644
--- a/pylint/message/message_handler_mix_in.py
+++ b/pylint/message/message_handler_mix_in.py
@@ -3,8 +3,6 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/master/COPYING
-from __future__ import print_function
-
import sys
from pylint.constants import (