% pyflakes src/server/channel.py src/server/channel.py:27: 'NotImplemented' imported but unused
Signed-off-by: Maksim Melnikau <[email protected]> --- src/server/channel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/channel.py b/src/server/channel.py index 4fad41c..93e18e9 100644 --- a/src/server/channel.py +++ b/src/server/channel.py @@ -24,7 +24,7 @@ from telepathy.constants import (CONNECTION_HANDLE_TYPE_NONE, CHANNEL_TEXT_MESSAGE_TYPE_NORMAL, HANDLE_TYPE_NONE) -from telepathy.errors import InvalidArgument +from telepathy.errors import InvalidArgument, NotImplemented from telepathy.interfaces import (CHANNEL_INTERFACE, CHANNEL_INTERFACE_CONFERENCE, @@ -157,7 +157,7 @@ class ChannelTypeContactList(Channel, _ChannelTypeContactListIface): object_path=object_path) def Close(self): - raise telepathy.NotImplemented("Contact lists can't be closed") + raise NotImplemented("Contact lists can't be closed") from telepathy._generated.Channel_Type_File_Transfer \ -- 1.8.0.2 _______________________________________________ telepathy mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/telepathy
