mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 22:05:58 +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 reporters
|
||||
import ConfigParser
|
||||
import loggable
|
||||
from loggable import Loggable
|
||||
from optparse import OptionGroup
|
||||
import xml.etree.ElementTree as ET
|
||||
|
@ -1080,7 +1081,7 @@ class GstValidateMediaDescriptor(MediaDescriptor):
|
|||
if verbose:
|
||||
printc("Result: Failed", Colors.FAIL)
|
||||
else:
|
||||
self.error("Exception: %s", e)
|
||||
loggable.error("Exception: %s", e)
|
||||
return None
|
||||
|
||||
if verbose:
|
||||
|
|
Loading…
Reference in a new issue