X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Ftp%2Fchannelmanager.py;h=4497c49f656f34377ee4095cd66dad22fad13308;hb=dc433fea2a937e651729013ac30341b83176f168;hp=09bd7985bb06b47e0330335355b97934988af72d;hpb=7e81315ee610f630a3d17d07ab3bee9c50497bce;p=theonering diff --git a/src/tp/channelmanager.py b/src/tp/channelmanager.py index 09bd798..4497c49 100644 --- a/src/tp/channelmanager.py +++ b/src/tp/channelmanager.py @@ -1,6 +1,6 @@ # telepathy-python - Base classes defining the interfaces of the Telepathy framework # -# Copyright (C) 2009 Collabora Limited +# Copyright (C) 2009-2010 Collabora Limited # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -22,7 +22,6 @@ from telepathy.interfaces import (CHANNEL_INTERFACE, CHANNEL_TYPE_CONTACT_LIST) class ChannelManager(object): - def __init__(self, connection): self._conn = connection @@ -115,6 +114,7 @@ class ChannelManager(object): self._available_properties[type] = available def get_requestable_channel_classes(self): + """Return all the channel types that can be created""" retval = [] for channel_type in self._requestable_channel_classes: