mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
validate: Implement Scenario.__repr__
Allows better debugging when looking at logs
This commit is contained in:
parent
9188968f5c
commit
400d1f9326
1 changed files with 2 additions and 0 deletions
|
@ -1714,6 +1714,8 @@ class Scenario(object):
|
|||
except AttributeError:
|
||||
return 0
|
||||
|
||||
def __repr__(self):
|
||||
return "<Scenario %s>" % self.name
|
||||
|
||||
class ScenarioManager(Loggable):
|
||||
_instance = None
|
||||
|
|
Loading…
Reference in a new issue