From a4b57b322e1864b092d386f935defb0dc59920d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 26 Sep 2017 11:59:08 +0200 Subject: [PATCH] sysv-generator-test: drop python2 work-around We require python3 for meson anyway, so support python2 doesn't seem useful anymore. --- test/sysv-generator-test.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test/sysv-generator-test.py b/test/sysv-generator-test.py index 99e323db3b..9774378ae6 100755 --- a/test/sysv-generator-test.py +++ b/test/sysv-generator-test.py @@ -26,12 +26,7 @@ import tempfile import shutil from glob import glob import collections - -try: - from configparser import RawConfigParser -except ImportError: - # python 2 - from ConfigParser import RawConfigParser +from configparser import RawConfigParser sysv_generator = os.path.join(os.environ.get('builddir', '.'), 'systemd-sysv-generator')