VirtualMailManager/MailLocation.py
changeset 138 617f27715b01
parent 133 2d5c4745efec
child 162 0ac9ef587769
equal deleted inserted replaced
137:fc09f657082d 138:617f27715b01
     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 constants.VERSION import *
     8 from __main__ import re, ERR
     9 
       
    10 import re
       
    11 
       
    12 from Exceptions import VMMMailLocationException as MLE
     9 from Exceptions import VMMMailLocationException as MLE
    13 import constants.ERROR as ERR
       
    14 
    10 
    15 RE_MAILLOCATION = """^\w{1,20}$"""
    11 RE_MAILLOCATION = """^\w{1,20}$"""
    16 
    12 
    17 class MailLocation(object):
    13 class MailLocation(object):
    18     """A wrapper class thats provide access to the maillocation table"""
    14     """A wrapper class thats provide access to the maillocation table"""