mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 06:08:14 +00:00
validate: Launcher: Fix a backtrace using self in a @staticmethod
This commit is contained in:
parent
fd7c13d446
commit
1cdbba4327
1 changed files with 2 additions and 1 deletions
|
@ -29,6 +29,7 @@ import urlparse
|
||||||
import subprocess
|
import subprocess
|
||||||
import reporters
|
import reporters
|
||||||
import ConfigParser
|
import ConfigParser
|
||||||
|
import loggable
|
||||||
from loggable import Loggable
|
from loggable import Loggable
|
||||||
from optparse import OptionGroup
|
from optparse import OptionGroup
|
||||||
import xml.etree.ElementTree as ET
|
import xml.etree.ElementTree as ET
|
||||||
|
@ -1080,7 +1081,7 @@ class GstValidateMediaDescriptor(MediaDescriptor):
|
||||||
if verbose:
|
if verbose:
|
||||||
printc("Result: Failed", Colors.FAIL)
|
printc("Result: Failed", Colors.FAIL)
|
||||||
else:
|
else:
|
||||||
self.error("Exception: %s", e)
|
loggable.error("Exception: %s", e)
|
||||||
return None
|
return None
|
||||||
|
|
||||||
if verbose:
|
if verbose:
|
||||||
|
|
Loading…
Reference in a new issue