validate: Launcher: Fix a backtrace using self in a @staticmethod

This commit is contained in:
Thibault Saunier 2014-07-22 15:49:09 +02:00
parent fd7c13d446
commit 1cdbba4327

View file

@ -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: