VirtualMailManager/account.py
changeset 611 8e9b0046bc8f
parent 568 14abdd04ddf5
child 613 7b3494f1a2ef
equal deleted inserted replaced
610:b6c4e77046b9 611:8e9b0046bc8f
   351             assert isinstance(transport, Transport)
   351             assert isinstance(transport, Transport)
   352             if transport.transport.lower() in ('virtual', 'virtual:') and \
   352             if transport.transport.lower() in ('virtual', 'virtual:') and \
   353                 not self._mail.postfix:
   353                 not self._mail.postfix:
   354                 raise AErr(_(u"Invalid transport '%(transport)s' for mailbox "
   354                 raise AErr(_(u"Invalid transport '%(transport)s' for mailbox "
   355                              u"format '%(mbfmt)s'.") %
   355                              u"format '%(mbfmt)s'.") %
   356                            {'transport': transport, 'mbfmt': self._mail.mbformat},
   356                            {'transport': transport,
       
   357                             'mbfmt': self._mail.mbformat},
   357                            INVALID_MAIL_LOCATION)
   358                            INVALID_MAIL_LOCATION)
   358             transport = transport.tid
   359             transport = transport.tid
   359         self._update_tables('tid', transport)
   360         self._update_tables('tid', transport)
   360 
   361 
   361     def _get_info_transport(self):
   362     def _get_info_transport(self):