[Telepathy-commits] [telepathy-butterfly/master] Remove the checks in GetContactAttributes
Olivier Le Thanh Duong
olivier at lethanh.be
Sun Jan 25 11:31:06 PST 2009
---
butterfly/contacts.py | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/butterfly/contacts.py b/butterfly/contacts.py
index 77c8a08..84d72dd 100644
--- a/butterfly/contacts.py
+++ b/butterfly/contacts.py
@@ -29,8 +29,6 @@ __all__ = ['ButterflyContacts']
logger = logging.getLogger('Butterfly.Contacts')
-
-
class ButterflyContacts(
telepathy.server.ConnectionInterfaceContacts,
pymsn.event.ContactEventInterface,
@@ -67,11 +65,7 @@ class ButterflyContacts(
for handle in handles:
ret[handle] = {}
- self.check_connected()
- self.check_handle_type(handle_type)
-
- for handle in handles:
- self.check_handle(handle_type, handle)
+ #InspectHandle already checks we're connected, the handles and handle type.
#Hold handles if needed
if hold:
--
1.5.6.5
More information about the Telepathy-commits
mailing list