VirtualMailManager/maillocation.py
branchv0.6.x
changeset 305 3c62f581d17a
parent 302 32b4a39b5640
child 307 217b419d6561
equal deleted inserted replaced
304:df0f7b22540c 305:3c62f581d17a
    96     def postfix(self):
    96     def postfix(self):
    97         """`True` if Postfix supports this mailbox format, else `False`."""
    97         """`True` if Postfix supports this mailbox format, else `False`."""
    98         return _format_info[self._mbfmt]['postfix']
    98         return _format_info[self._mbfmt]['postfix']
    99 
    99 
   100     @property
   100     @property
   101     def prefix(self):
   101     def mbformat(self):
   102         """The prefix of the mail_location."""
   102         """The mail_location's mailbox format."""
   103         return self._mbfmt + ':'
   103         return self._mbfmt
   104 
   104 
   105     @property
   105     @property
   106     def mail_location(self):
   106     def mail_location(self):
   107         """The mail_location, e.g. ``maildir:~/Maildir``"""
   107         """The mail_location, e.g. ``maildir:~/Maildir``"""
   108         return self.__str__()
   108         return self.__str__()