VirtualMailManager/Transport.py
changeset 138 617f27715b01
parent 128 cf8116625866
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 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 constants.VERSION import *
     8 from __main__ import ERR
     9 
       
    10 from Exceptions import VMMTransportException
     9 from Exceptions import VMMTransportException
    11 import constants.ERROR as ERR
       
    12 
    10 
    13 class Transport(object):
    11 class Transport(object):
    14     """A wrapper class that provides access to the transport table"""
    12     """A wrapper class that provides access to the transport table"""
    15     __slots__ = ('__id', '__transport', '_dbh')
    13     __slots__ = ('__id', '__transport', '_dbh')
    16     def __init__(self, dbh, tid=None, transport=None):
    14     def __init__(self, dbh, tid=None, transport=None):