equal
deleted
inserted
replaced
3 # See COPYING for distribution information. |
3 # See COPYING for distribution information. |
4 |
4 |
5 """Virtual Mail Manager's MailLocation class to manage the mail_location |
5 """Virtual Mail Manager's MailLocation class to manage the mail_location |
6 for accounts.""" |
6 for accounts.""" |
7 |
7 |
8 from __main__ import re, ERR |
8 import re |
9 from Exceptions import VMMMailLocationException as MLE |
9 |
|
10 import VirtualMailManager.constants.ERROR as ERR |
|
11 from VirtualMailManager.Exceptions import VMMMailLocationException as MLE |
10 |
12 |
11 RE_MAILLOCATION = """^\w{1,20}$""" |
13 RE_MAILLOCATION = """^\w{1,20}$""" |
12 |
14 |
13 class MailLocation(object): |
15 class MailLocation(object): |
14 """A wrapper class thats provide access to the maillocation table""" |
16 """A wrapper class thats provide access to the maillocation table""" |