diff options
author | Maksim Melnikau <maxposedon@gmail.com> | 2012-12-30 23:51:31 +0300 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2013-01-02 12:35:52 +0000 |
commit | 13378dc56409ebafb1e624219777b8065c9988c5 (patch) | |
tree | 7f4198749ee31194679ea2ec44b8d7b34a55c566 | |
parent | b32753276f42d2e2b1d2f43c1a05a3a48713d2ac (diff) |
% pyflakes src/server/channel.py
src/server/channel.py:27: 'NotImplemented' imported but unused
Signed-off-by: Maksim Melnikau <maxposedon@gmail.com>
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r-- | src/server/channel.py | 4 |
1 files 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 \ |