Remove some unused imports
This commit is contained in:
parent
1d16629d1b
commit
ead42a6945
@ -62,15 +62,13 @@ import dbus.service
|
|||||||
from dbus import PROPERTIES_IFACE
|
from dbus import PROPERTIES_IFACE
|
||||||
import cjson
|
import cjson
|
||||||
from telepathy.server import DBusProperties
|
from telepathy.server import DBusProperties
|
||||||
from telepathy.interfaces import CONNECTION, \
|
from telepathy.interfaces import CHANNEL, \
|
||||||
CHANNEL, \
|
|
||||||
CHANNEL_TYPE_TEXT, \
|
CHANNEL_TYPE_TEXT, \
|
||||||
CLIENT, \
|
CLIENT, \
|
||||||
CLIENT_HANDLER
|
CLIENT_HANDLER
|
||||||
from telepathy.constants import CONNECTION_HANDLE_TYPE_CONTACT
|
from telepathy.constants import CONNECTION_HANDLE_TYPE_CONTACT
|
||||||
|
|
||||||
from sugar import util
|
from sugar import util
|
||||||
from sugar import dispatch
|
|
||||||
from sugar.presence import presenceservice
|
from sugar.presence import presenceservice
|
||||||
from sugar.activity.activityservice import ActivityService
|
from sugar.activity.activityservice import ActivityService
|
||||||
from sugar.activity.namingalert import NamingAlert
|
from sugar.activity.namingalert import NamingAlert
|
||||||
|
@ -27,7 +27,6 @@ import uuid
|
|||||||
import dbus
|
import dbus
|
||||||
import gobject
|
import gobject
|
||||||
|
|
||||||
from sugar.presence import presenceservice
|
|
||||||
from sugar.activity.activityhandle import ActivityHandle
|
from sugar.activity.activityhandle import ActivityHandle
|
||||||
from sugar import util
|
from sugar import util
|
||||||
from sugar import env
|
from sugar import env
|
||||||
|
@ -26,7 +26,6 @@ from functools import partial
|
|||||||
import dbus
|
import dbus
|
||||||
from dbus import PROPERTIES_IFACE
|
from dbus import PROPERTIES_IFACE
|
||||||
import gobject
|
import gobject
|
||||||
import telepathy
|
|
||||||
from telepathy.client import Channel
|
from telepathy.client import Channel
|
||||||
from telepathy.interfaces import CHANNEL, \
|
from telepathy.interfaces import CHANNEL, \
|
||||||
CHANNEL_INTERFACE_GROUP, \
|
CHANNEL_INTERFACE_GROUP, \
|
||||||
|
@ -21,14 +21,12 @@ STABLE.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
from functools import partial
|
|
||||||
|
|
||||||
import gobject
|
import gobject
|
||||||
import gtk
|
import gtk
|
||||||
import dbus
|
import dbus
|
||||||
import gconf
|
import gconf
|
||||||
from telepathy.interfaces import ACCOUNT, \
|
from telepathy.interfaces import CONNECTION, \
|
||||||
CONNECTION, \
|
|
||||||
CONNECTION_INTERFACE_ALIASING, \
|
CONNECTION_INTERFACE_ALIASING, \
|
||||||
CONNECTION_INTERFACE_CONTACTS
|
CONNECTION_INTERFACE_CONTACTS
|
||||||
from telepathy.constants import HANDLE_TYPE_CONTACT
|
from telepathy.constants import HANDLE_TYPE_CONTACT
|
||||||
|
@ -22,7 +22,6 @@ STABLE.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
import traceback
|
|
||||||
|
|
||||||
import gobject
|
import gobject
|
||||||
import dbus
|
import dbus
|
||||||
@ -37,8 +36,7 @@ from sugar.presence.util import get_connection_manager
|
|||||||
from telepathy.interfaces import ACCOUNT, \
|
from telepathy.interfaces import ACCOUNT, \
|
||||||
ACCOUNT_MANAGER, \
|
ACCOUNT_MANAGER, \
|
||||||
CONNECTION
|
CONNECTION
|
||||||
from telepathy.constants import HANDLE_TYPE_CONTACT, \
|
from telepathy.constants import HANDLE_TYPE_CONTACT
|
||||||
HANDLE_TYPE_ROOM
|
|
||||||
|
|
||||||
_logger = logging.getLogger('sugar.presence.presenceservice')
|
_logger = logging.getLogger('sugar.presence.presenceservice')
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
# Boston, MA 02111-1307, USA.
|
# Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
import logging
|
|
||||||
from functools import partial
|
from functools import partial
|
||||||
|
|
||||||
import dbus
|
import dbus
|
||||||
|
Loading…
Reference in New Issue
Block a user