diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-09-26 11:59:08 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-09-26 13:44:38 +0200 |
commit | a4b57b322e1864b092d386f935defb0dc59920d9 (patch) | |
tree | c37c48d4aca35f807cebafa592d81746cb42d45f /test | |
parent | Merge pull request #6851 from keszybz/fix-masking-with-empty-files (diff) | |
download | systemd-a4b57b322e1864b092d386f935defb0dc59920d9.tar.xz systemd-a4b57b322e1864b092d386f935defb0dc59920d9.zip |
sysv-generator-test: drop python2 work-around
We require python3 for meson anyway, so support python2 doesn't seem
useful anymore.
Diffstat (limited to 'test')
-rwxr-xr-x | test/sysv-generator-test.py | 7 |
1 files changed, 1 insertions, 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') |