equal
deleted
inserted
replaced
570 """Wrapper around Account.set_password() and Account.save().""" |
570 """Wrapper around Account.set_password() and Account.save().""" |
571 acc = self._get_account(emailaddress) |
571 acc = self._get_account(emailaddress) |
572 if acc: |
572 if acc: |
573 raise VMMError(_(u"The account '%s' already exists.") % |
573 raise VMMError(_(u"The account '%s' already exists.") % |
574 acc.address, ACCOUNT_EXISTS) |
574 acc.address, ACCOUNT_EXISTS) |
575 other = self._is_other_address(acc.address, TYPE_ACCOUNT) |
575 self._is_other_address(acc.address, TYPE_ACCOUNT) |
576 acc.set_password(password) |
576 acc.set_password(password) |
577 acc.save() |
577 acc.save() |
578 self._make_account_dirs(acc) |
578 self._make_account_dirs(acc) |
579 |
579 |
580 def alias_add(self, aliasaddress, *targetaddresses): |
580 def alias_add(self, aliasaddress, *targetaddresses): |