VirtualMailManager/Transport.py
changeset 128 cf8116625866
parent 110 cb8b2f6a5fca
child 138 617f27715b01
equal deleted inserted replaced
127:97a9f6dd954b 128:cf8116625866
    15     __slots__ = ('__id', '__transport', '_dbh')
    15     __slots__ = ('__id', '__transport', '_dbh')
    16     def __init__(self, dbh, tid=None, transport=None):
    16     def __init__(self, dbh, tid=None, transport=None):
    17         """Creates a new Transport instance.
    17         """Creates a new Transport instance.
    18 
    18 
    19         Either tid or transport must be specified.
    19         Either tid or transport must be specified.
    20         
    20 
    21         Keyword arguments:
    21         Keyword arguments:
    22         dbh -- a pyPgSQL.PgSQL.connection
    22         dbh -- a pyPgSQL.PgSQL.connection
    23         tid -- the id of a transport (long)
    23         tid -- the id of a transport (long)
    24         transport -- the value of the transport (str)
    24         transport -- the value of the transport (str)
    25         """
    25         """