summaryrefslogtreecommitdiff
path: root/dbus/dbus_bindings.py
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/dbus_bindings.py')
-rw-r--r--dbus/dbus_bindings.py37
1 files changed, 0 insertions, 37 deletions
diff --git a/dbus/dbus_bindings.py b/dbus/dbus_bindings.py
deleted file mode 100644
index a45ca9f..0000000
--- a/dbus/dbus_bindings.py
+++ /dev/null
@@ -1,37 +0,0 @@
-# Backwards-compatibility with the old dbus_bindings.
-
-from warnings import warn as _warn
-
-_dbus_bindings_warning = DeprecationWarning("""\
-The dbus_bindings module is not public API and will go away soon.
-
-Most uses of dbus_bindings are applications catching the exception
-dbus.dbus_bindings.DBusException. You should use dbus.DBusException
-instead (this is compatible with all dbus-python versions since 0.40.2).
-
-If you need additional public API, please contact the maintainers via
-<dbus@lists.freedesktop.org>.
-""")
-
-_warn(_dbus_bindings_warning, DeprecationWarning, stacklevel=2)
-
-# Exceptions
-from dbus.exceptions import DBusException
-class ConnectionError(Exception): pass
-
-# Types
-from dbus.types import *
-
-# Messages
-from _dbus_bindings import Message, SignalMessage as Signal,\
- MethodCallMessage as MethodCall,\
- MethodReturnMessage as MethodReturn,\
- ErrorMessage as Error
-# MessageIter has gone away, thankfully
-
-# Connection
-from _dbus_bindings import Connection
-
-from dbus import Bus
-bus_request_name = Bus.request_name
-bus_release_name = Bus.release_name