mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
sysv-generator-test: drop python2 work-around
We require python3 for meson anyway, so support python2 doesn't seem useful anymore.
This commit is contained in:
parent
06d92f88d3
commit
a4b57b322e
@ -26,12 +26,7 @@ import tempfile
|
|||||||
import shutil
|
import shutil
|
||||||
from glob import glob
|
from glob import glob
|
||||||
import collections
|
import collections
|
||||||
|
from configparser import RawConfigParser
|
||||||
try:
|
|
||||||
from configparser import RawConfigParser
|
|
||||||
except ImportError:
|
|
||||||
# python 2
|
|
||||||
from ConfigParser import RawConfigParser
|
|
||||||
|
|
||||||
sysv_generator = os.path.join(os.environ.get('builddir', '.'), 'systemd-sysv-generator')
|
sysv_generator = os.path.join(os.environ.get('builddir', '.'), 'systemd-sysv-generator')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user