Skip to content

Commit 414fbc5

Browse files
fix
1 parent a1633b0 commit 414fbc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ class PylintIncompatiblePythonError(Exception):
77
def __init__(self, version_info: "sys._version_info") -> None:
88
super().__init__(
99
"The last version compatible with Python <= 3.6.2 is pylint '2.9.3'. "
10-
f"You're using {'.'.join(map(str, version_info[:3]))}. "
10+
f"You're using {'.'.join([str(v) for v in version_info[:3]])}. "
1111
"Please install pylint 2.9.3 explicitly or upgrade your python interpreter "
1212
"to at least 3.6.2. Remember that Python 3.6 end life is December 2021. "
1313
"See https://github.com/PyCQA/pylint/issues/5065 for more detail."
1414
)
1515

1616

1717
if sys.version_info < (3, 6, 2):
18-
raise PylintIncompatiblePythonError(sys.version_info)
18+
raise PylintIncompatiblePythonError()
1919

2020
setup()

0 commit comments

Comments
 (0)