Ejemplo n.º 1
0
 def confirmation_number(self):
     conf = coalesce(self.web_confirmation_number, "")
     loc = conf.find(".")
     return default_slice(self.web_confirmation_number, 0, loc, None)
Ejemplo n.º 2
0
 def split_number(self):
     conf = coalesce(self.web_confirmation_number, "")
     loc = len(conf) - conf.find(".")
     return default_slice(self.web_confirmation_number, loc, len(conf), None)