GNOME Bugzilla – Bug 678317
malformed exception raised when creating Variant
Last modified: 2012-06-20 09:14:36 UTC
Created attachment 216674 [details] [review] the patch When trying to create Variant of a tuple but the value is not a tuple the wrong exception is raised. python3 >>> from gi.repository import GLib >>> GLib.Variant('(s)', 'test') ... TypeError: exceptions must derive from BaseException Attaching a patch that corrects the raise syntax
Thanks! Pushed.