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