~ubuntu-branches/ubuntu/saucy/dbus-python/saucy-proposed

« back to all changes in this revision

Viewing changes to dbus/gi_service.py

  • Committer: Package Import Robot
  • Author(s): Simon McVittie
  • Date: 2013-05-08 08:58:16 UTC
  • mfrom: (1.2.4)
  • Revision ID: package-import@ubuntu.com-20130508085816-nn1mkskqmjuzn9u6
Tags: 1.2.0-1
* Check for sysconfig EXT_SUFFIX (for Python 3.3), falling back to SO if
  not found (for Python 3.2) (Closes: #707139)
* New upstream release
  - Unicode in exceptions works better (LP: #846044)

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
# `ExportedGObjectType` as its metaclass, which is sufficient to make it work
38
38
# correctly.
39
39
 
40
 
class ExportedGObjectType(GObject.GObjectMeta, dbus.service.InterfaceType):
 
40
class ExportedGObjectType(GObject.GObject.__class__, dbus.service.InterfaceType):
41
41
    """A metaclass which inherits from both GObjectMeta and
42
42
    `dbus.service.InterfaceType`. Used as the metaclass for `ExportedGObject`.
43
43
    """
44
44
    def __init__(cls, name, bases, dct):
45
 
        GObject.GObjectMeta.__init__(cls, name, bases, dct)
 
45
        GObject.GObject.__class__.__init__(cls, name, bases, dct)
46
46
        dbus.service.InterfaceType.__init__(cls, name, bases, dct)
47
47
 
48
48