VirtualMailManager/AliasDomain.py
changeset 138 617f27715b01
parent 133 2d5c4745efec
child 155 eb866ebb9f2e
equal deleted inserted replaced
137:fc09f657082d 138:617f27715b01
     2 # Copyright (c) 2008 - 2009, VEB IT
     2 # Copyright (c) 2008 - 2009, VEB IT
     3 # See COPYING for distribution information.
     3 # See COPYING for distribution information.
     4 
     4 
     5 """Virtual Mail Manager's AliasDomain class to manage alias domains."""
     5 """Virtual Mail Manager's AliasDomain class to manage alias domains."""
     6 
     6 
     7 from constants.VERSION import *
     7 from __main__ import ERR
     8 
       
     9 from Exceptions import VMMAliasDomainException as VADE
     8 from Exceptions import VMMAliasDomainException as VADE
    10 import constants.ERROR as ERR
       
    11 import VirtualMailManager as VMM
     9 import VirtualMailManager as VMM
    12 
    10 
    13 class AliasDomain(object):
    11 class AliasDomain(object):
    14     """Class to manage e-mail alias domains."""
    12     """Class to manage e-mail alias domains."""
    15     __slots__ = ('__gid', '__name', '_domain', '_dbh')
    13     __slots__ = ('__gid', '__name', '_domain', '_dbh')