VirtualMailManager/MailLocation.py
branchv0.6.x
changeset 185 6e1ef32fbd82
parent 162 0ac9ef587769
child 216 0c8c053b451c
equal deleted inserted replaced
184:d0425225ce52 185:6e1ef32fbd82
     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"""