mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
aux: lvmdbus checks for JSONDecodeError
Skip lvmdbus testing with too old python.
This commit is contained in:
parent
d11e12264f
commit
c1cecc3dc5
@ -315,6 +315,7 @@ prepare_lvmdbusd() {
|
||||
which python3 >/dev/null || skip "Missing python3"
|
||||
|
||||
python3 -c "import pyudev, dbus, gi.repository" || skip "Missing python modules"
|
||||
python3 -c "from json.decoder import JSONDecodeError" || skip "Python json module is missing JSONDecodeError"
|
||||
|
||||
# Copy the needed file to run on the system bus if it doesn't
|
||||
# already exist
|
||||
|
Loading…
Reference in New Issue
Block a user