Hardening against some types of error
[theonering] / src / handle.py
index 02e5137..5fc4e98 100644 (file)
@@ -52,14 +52,6 @@ class ContactHandle(TheOneRingHandle):
        def phoneNumber(self):
                return self._phoneNumber
 
-       @property
-       def contact_name(self):
-               return self._conn.session.addressbook.get_contact_name(self.phoneNumber)
-
-       @property
-       def contactDetails(self):
-               return self._conn.session.addressbook.get_phone_type(self.phoneNumber)
-
 
 class ListHandle(TheOneRingHandle):