diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-06-12 12:38:50 +0100 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-06-12 12:38:50 +0100 |
commit | 20bdaddd4a4436094d7aa2fb48f38aefaf788933 (patch) | |
tree | f1b4bdb3b026088b3cfcd9e401e3b66400e50a37 /examples | |
parent | 71bcbbc3e804beb010d47bbf00a0b00e92f6553e (diff) |
remove unused imports
Diffstat (limited to 'examples')
-rw-r--r-- | examples/tube-dbus-muc.py | 12 | ||||
-rw-r--r-- | examples/tubeconn.py | 2 |
2 files changed, 5 insertions, 9 deletions
diff --git a/examples/tube-dbus-muc.py b/examples/tube-dbus-muc.py index 859ae26..2c160cc 100644 --- a/examples/tube-dbus-muc.py +++ b/examples/tube-dbus-muc.py @@ -3,23 +3,19 @@ import dbus.glib import gobject import sys import time -import random -import pprint from dbus.service import method, signal, Object -from dbus import Interface, PROPERTIES_IFACE +from dbus import PROPERTIES_IFACE -from telepathy.client import ( - Connection, Channel) +from telepathy.client import Channel from telepathy.interfaces import ( - CONN_INTERFACE, CHANNEL_INTERFACE_GROUP, CHANNEL_TYPE_TUBES, + CONN_INTERFACE, CHANNEL_INTERFACE_GROUP, CHANNEL_TYPE_TEXT, CHANNEL_INTERFACE, CONNECTION_INTERFACE_REQUESTS, CHANNEL_INTERFACE_TUBE, CHANNEL_TYPE_DBUS_TUBE) from telepathy.constants import ( CONNECTION_HANDLE_TYPE_CONTACT, CONNECTION_HANDLE_TYPE_ROOM, CONNECTION_STATUS_CONNECTED, CONNECTION_STATUS_DISCONNECTED, CONNECTION_STATUS_CONNECTING, - TUBE_TYPE_DBUS, TUBE_TYPE_STREAM, TUBE_STATE_LOCAL_PENDING, - TUBE_STATE_REMOTE_PENDING, TUBE_STATE_OPEN, SOCKET_ACCESS_CONTROL_CREDENTIALS, + SOCKET_ACCESS_CONTROL_CREDENTIALS, TUBE_CHANNEL_STATE_LOCAL_PENDING, TUBE_CHANNEL_STATE_REMOTE_PENDING, TUBE_CHANNEL_STATE_OPEN, TUBE_CHANNEL_STATE_NOT_OFFERED) diff --git a/examples/tubeconn.py b/examples/tubeconn.py index ce950fd..aae6c72 100644 --- a/examples/tubeconn.py +++ b/examples/tubeconn.py @@ -26,7 +26,7 @@ import logging from dbus.connection import Connection from dbus import PROPERTIES_IFACE -from telepathy.interfaces import CHANNEL_INTERFACE, CHANNEL_TYPE_DBUS_TUBE +from telepathy.interfaces import CHANNEL_TYPE_DBUS_TUBE logger = logging.getLogger('telepathy.tubeconn') |