validate:launcher: Do not check ModuleNotFound exception
authorThibault Saunier <thibault.saunier@osg.samsung.com>
Wed, 28 Jun 2017 19:54:13 +0000 (15:54 -0400)
committerThibault Saunier <thibault.saunier@osg.samsung.com>
Wed, 28 Jun 2017 19:54:13 +0000 (15:54 -0400)
It is a subclass of ImportError and is avalaible only since 3.6
https://ci.gstreamer.net/job/pitivi-flatpak/626/console

validate/launcher/baseclasses.py

index 7e81f9a..52c8868 100644 (file)
@@ -42,7 +42,7 @@ from .loggable import Loggable
 
 try:
     from lxml import etree as ET
-except (ModuleNotFoundError, ImportError):
+except ImportError:
     import xml.etree.cElementTree as ET
 
 from .utils import mkdir, Result, Colors, printc, DEFAULT_TIMEOUT, GST_SECOND, \