VirtualMailManager/Transport.py
branchv0.6.x
changeset 185 6e1ef32fbd82
parent 162 0ac9ef587769
child 216 0c8c053b451c
equal deleted inserted replaced
184:d0425225ce52 185:6e1ef32fbd82
     3 # See COPYING for distribution information.
     3 # See COPYING for distribution information.
     4 
     4 
     5 """Virtual Mail Manager's Transport class to manage the transport for
     5 """Virtual Mail Manager's Transport class to manage the transport for
     6 domains and accounts."""
     6 domains and accounts."""
     7 
     7 
     8 from __main__ import ERR
     8 import VirtualMailManager.constants.ERROR as ERR
     9 from Exceptions import VMMTransportException
     9 from VirtualMailManager.Exceptions import VMMTransportException
    10 
    10 
    11 class Transport(object):
    11 class Transport(object):
    12     """A wrapper class that provides access to the transport table"""
    12     """A wrapper class that provides access to the transport table"""
    13     __slots__ = ('__id', '__transport', '_dbh')
    13     __slots__ = ('__id', '__transport', '_dbh')
    14     def __init__(self, dbh, tid=None, transport=None):
    14     def __init__(self, dbh, tid=None, transport=None):