Beispiel #1
0
 def add_phone(self, fields, data):
     """Read the TEL property of a VCard."""
     tel = data.strip()
     if tel:
         addr = Address()
         addr.set_phone(self.unesc(tel))
         self.person.add_address(addr)
Beispiel #2
0
 def add_phone(self, fields, data):
     """Read the TEL property of a VCard."""
     tel = data.strip()
     if tel:
         addr = Address()
         addr.set_phone(self.unesc(tel))
         self.person.add_address(addr)