VirtualMailManager/Relocated.py
branchv0.6.x
changeset 185 6e1ef32fbd82
parent 162 0ac9ef587769
child 197 d2712e8c724e
equal deleted inserted replaced
184:d0425225ce52 185:6e1ef32fbd82
     2 # Copyright (c) 2008 - 2010, Pascal Volk
     2 # Copyright (c) 2008 - 2010, Pascal Volk
     3 # See COPYING for distribution information.
     3 # See COPYING for distribution information.
     4 
     4 
     5 """Virtual Mail Manager's Relocated class to manage relocated users."""
     5 """Virtual Mail Manager's Relocated class to manage relocated users."""
     6 
     6 
     7 from __main__ import ERR
     7 import VirtualMailManager.constants.ERROR as ERR
     8 from Exceptions import VMMRelocatedException as VMMRE
     8 from VirtualMailManager.Domain import Domain
     9 from Domain import Domain
     9 from VirtualMailManager.EmailAddress import EmailAddress
    10 from EmailAddress import EmailAddress
    10 from VirtualMailManager.Exceptions import VMMRelocatedException as VMMRE
    11 import VirtualMailManager as VMM
    11 import VirtualMailManager as VMM
    12 
    12 
    13 class Relocated(object):
    13 class Relocated(object):
    14     """Class to manage e-mail addresses of relocated users."""
    14     """Class to manage e-mail addresses of relocated users."""
    15     __slots__ = ('_addr', '_dest', '_gid', '_isNew', '_dbh')
    15     __slots__ = ('_addr', '_dest', '_gid', '_isNew', '_dbh')