telepathy-python: fix NotImplemented usage in server/channel.py
Jonny Lamb
jonny at kemper.freedesktop.org
Wed Jan 2 04:36:05 PST 2013
Module: telepathy-python
Branch: master
Commit: 13378dc56409ebafb1e624219777b8065c9988c5
URL: http://cgit.freedesktop.org/telepathy/telepathy-python/commit/?id=13378dc56409ebafb1e624219777b8065c9988c5
Author: Maksim Melnikau <maxposedon at gmail.com>
Date: Sun Dec 30 23:51:31 2012 +0300
fix NotImplemented usage in server/channel.py
% pyflakes src/server/channel.py
src/server/channel.py:27: 'NotImplemented' imported but unused
Signed-off-by: Maksim Melnikau <maxposedon at gmail.com>
Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
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 \
More information about the telepathy-commits
mailing list