Ejemplo n.º 1
0
 def get_account(self, target, email_address, response):
     account = account_or_none(target, GenericAccount, email_address)
     if not account:
         account = self.create_account(email_address, response)
     account = self.update_account(account, response)
     return account
Ejemplo n.º 2
0
 def get_account(self, target, email_address, response):
     account = account_or_none(target, GenericAccount, email_address)
     if not account:
         account = self.create_account(email_address, response)
     account = self.update_account(account, response)
     return account