Beispiel #1
0
 def column_phone(self,data):
     try:
         if data[5]:
             addr = Address()
             addr.unserialize(data[5][0])
             return addr.get_phone()
     except:
         pass
     return ''
Beispiel #2
0
 def column_postal_code(self, data):
     try:
         if data[5]:
             addr = Address()
             addr.unserialize(data[5][0])
             return addr.get_postal_code()
     except:
         pass
     return cuni('')
Beispiel #3
0
 def column_phone(self, data):
     try:
         if data[5]:
             addr = Address()
             addr.unserialize(data[5][0])
             return addr.get_phone()
     except:
         pass
     return ''
Beispiel #4
0
 def column_locality(self, data):
     try:
         if data[5]:
             addr = Address()
             addr.unserialize(data[5][0])
             return addr.get_locality()
     except:
         pass
     return cuni('')