overrides: Don't pass arguments to Boxed base class __init__() in Gst.Caps override.

This is needed since: https://git.gnome.org/browse/pygobject/commit/?id=3a2bfc8bf01fcae3863

https://bugzilla.gnome.org/show_bug.cgi?id=730596
This commit is contained in:
Christoph Reiter 2014-05-22 22:48:09 +02:00 committed by Thibault Saunier
parent 16979ed48b
commit 4c08c3396c

View file

@ -78,6 +78,9 @@ class Caps(Gst.Caps):
raise TypeError("wrong arguments when creating GstCaps object")
def __init__(self, *args, **kwargs):
return super(Caps, self).__init__()
def __str__(self):
return self.to_string()