1 # Backwards-compatibility with the old dbus_bindings.
3 from warnings
import warn
as _warn
4 from dbus
._dbus
import _dbus_bindings_warning
5 _warn(_dbus_bindings_warning
, DeprecationWarning, stacklevel
=2)
8 from _dbus_bindings
import DBusException
9 class ConnectionError(Exception): pass
12 from dbus
.types
import *
15 from _dbus_bindings
import Message
, SignalMessage
as Signal
,\
16 MethodCallMessage
as MethodCall
,\
17 MethodReturnMessage
as MethodReturn
,\
19 # MessageIter has gone away, thankfully
22 from _dbus_bindings
import Connection
25 bus_request_name
= Bus
.request_name
26 bus_release_name
= Bus
.release_name