equal
deleted
inserted
replaced
830 INVALID_ARGUMENT) |
830 INVALID_ARGUMENT) |
831 acc = self._get_account(emailaddress) |
831 acc = self._get_account(emailaddress) |
832 if not acc: |
832 if not acc: |
833 raise VMMError(_(u"The account '%s' does not exist.") % |
833 raise VMMError(_(u"The account '%s' does not exist.") % |
834 acc.address, NO_SUCH_ACCOUNT) |
834 acc.address, NO_SUCH_ACCOUNT) |
835 transport = None if transport == 'default' \ |
835 if transport == 'default': |
836 else Transport(self._dbh, transport=transport) |
836 transport = None |
|
837 else: |
|
838 transport = Transport(self._dbh, transport=transport) |
837 acc.update_transport(transport) |
839 acc.update_transport(transport) |
838 |
840 |
839 def user_services(self, emailaddress, *services): |
841 def user_services(self, emailaddress, *services): |
840 """Wrapper around Account.update_serviceset().""" |
842 """Wrapper around Account.update_serviceset().""" |
841 acc = self._get_account(emailaddress) |
843 acc = self._get_account(emailaddress) |