This commit is contained in:
Tomeu Vizoso 2007-04-27 13:01:41 +02:00
parent a9f26a1faa
commit 395d3f5c96

View File

@ -36,8 +36,8 @@ _PRESENCE_PATH = "/org/laptop/Sugar/Presence"
class NotFoundError(dbus.DBusException): class NotFoundError(dbus.DBusException):
def __init__(self): def __init__(self, msg):
dbus.DBusException.__init__(self) dbus.DBusException.__init__(self, msg)
self._dbus_error_name = _PRESENCE_INTERFACE + '.NotFound' self._dbus_error_name = _PRESENCE_INTERFACE + '.NotFound'
class DBusGObjectMetaclass(dbus.service.InterfaceType, gobject.GObjectMeta): pass class DBusGObjectMetaclass(dbus.service.InterfaceType, gobject.GObjectMeta): pass