VirtualMailManager/Alias.py
changeset 138 617f27715b01
parent 133 2d5c4745efec
child 144 4c6aa6c29dd7
equal deleted inserted replaced
137:fc09f657082d 138:617f27715b01
     2 # Copyright (c) 2007 - 2009, VEB IT
     2 # Copyright (c) 2007 - 2009, VEB IT
     3 # See COPYING for distribution information.
     3 # See COPYING for distribution information.
     4 
     4 
     5 """Virtual Mail Manager's Alias class to manage e-mail aliases."""
     5 """Virtual Mail Manager's Alias class to manage e-mail aliases."""
     6 
     6 
     7 from constants.VERSION import *
     7 from __main__ import ERR
     8 
       
     9 from Exceptions import VMMAliasException as VMMAE
     8 from Exceptions import VMMAliasException as VMMAE
    10 from Domain import Domain
     9 from Domain import Domain
    11 from EmailAddress import EmailAddress
    10 from EmailAddress import EmailAddress
    12 import constants.ERROR as ERR
       
    13 import VirtualMailManager as VMM
    11 import VirtualMailManager as VMM
    14 
    12 
    15 class Alias(object):
    13 class Alias(object):
    16     """Class to manage e-mail aliases."""
    14     """Class to manage e-mail aliases."""
    17     __slots__ = ('_addr', '_dest', '_gid', '_isNew', '_dbh')
    15     __slots__ = ('_addr', '_dest', '_gid', '_isNew', '_dbh')