equal
deleted
inserted
replaced
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): |