コード例 #1
0
ファイル: importvcard.py プロジェクト: SNoiraud/gramps
 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)
コード例 #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)