VirtualMailManager/MailLocation.py
branchv0.6.x
changeset 216 0c8c053b451c
parent 185 6e1ef32fbd82
equal deleted inserted replaced
215:33f727efa7c4 216:0c8c053b451c
     6 for accounts."""
     6 for accounts."""
     7 
     7 
     8 import re
     8 import re
     9 
     9 
    10 import VirtualMailManager.constants.ERROR as ERR
    10 import VirtualMailManager.constants.ERROR as ERR
    11 from VirtualMailManager.Exceptions import VMMMailLocationException as MLE
    11 from VirtualMailManager.errors import MailLocationError as MLE
    12 
    12 
    13 RE_MAILLOCATION = """^\w{1,20}$"""
    13 RE_MAILLOCATION = """^\w{1,20}$"""
    14 
    14 
    15 class MailLocation(object):
    15 class MailLocation(object):
    16     """A wrapper class thats provide access to the maillocation table"""
    16     """A wrapper class thats provide access to the maillocation table"""