mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
validate:launcher: Do not check ModuleNotFound exception
It is a subclass of ImportError and is avalaible only since 3.6 https://ci.gstreamer.net/job/pitivi-flatpak/626/console
This commit is contained in:
parent
3b20a1ccde
commit
c540601ed0
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ from .loggable import Loggable
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from lxml import etree as ET
|
from lxml import etree as ET
|
||||||
except (ModuleNotFoundError, ImportError):
|
except ImportError:
|
||||||
import xml.etree.cElementTree as ET
|
import xml.etree.cElementTree as ET
|
||||||
|
|
||||||
from .utils import mkdir, Result, Colors, printc, DEFAULT_TIMEOUT, GST_SECOND, \
|
from .utils import mkdir, Result, Colors, printc, DEFAULT_TIMEOUT, GST_SECOND, \
|
||||||
|
|
Loading…
Reference in a new issue