Commits

Yuki KODAMA  committed f921035

user: fix to use new return values of util.parse_address()

  • Participants
  • Parent commits 25e2c59

Comments (0)

Files changed (1)

 
         elif op == 'email/regen':
             email = self.request.get('email').strip()
-            addr_id, _, _, _ = util.parse_address(email)
-            if addr_id == account.address_id:
+            _, aid, _, _, _ = util.parse_address(email)
+            if aid == account.address_id:
                 account.address_id = util.gen_address_id()
                 account.put()
             data = {'email': util.make_address(account.address_id)}