From 24aef157aead07f813f874f43ee471b057e622cb Mon Sep 17 00:00:00 2001 From: Benjamin Cabé Date: Thu, 23 Oct 2025 17:25:08 +0200 Subject: drop support for Python 2.x as it is very much EOL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A follow-up to b96a5ad562deffa697d966c29546650aae645f48 where we stopped having CI run tests on Python 2.x. This actually drops the few remaining Python 2.x compatibility bits as Python 2.x has EOL'd a long time ago. Signed-off-by: Benjamin Cabé Signed-off-by: Torsten Rasmussen --- oldconfig.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'oldconfig.py') diff --git a/oldconfig.py b/oldconfig.py index 53434b2..b66c842 100755 --- a/oldconfig.py +++ b/oldconfig.py @@ -32,11 +32,6 @@ import sys from kconfiglib import Symbol, Choice, BOOL, TRISTATE, HEX, standard_kconfig -# Python 2/3 compatibility hack -if sys.version_info[0] < 3: - input = raw_input - - def _main(): # Earlier symbols in Kconfig files might depend on later symbols and become # visible if their values change. This flag is set to True if the value of -- cgit v1.2.3