VirtualMailManager/aliasdomain.py
branchv0.7.x
changeset 694 b1bfd4d1d9c0
parent 676 2bc11dada296
child 711 2a75058fc064
equal deleted inserted replaced
693:2e19ab98118a 694:b1bfd4d1d9c0
    25     def __init__(self, dbh, domainname):
    25     def __init__(self, dbh, domainname):
    26         """Creates a new AliasDomain instance.
    26         """Creates a new AliasDomain instance.
    27 
    27 
    28         Arguments:
    28         Arguments:
    29 
    29 
    30         `dbh` : pyPgSQL.PgSQL.Connection
    30         `dbh` : psycopg2._psycopg.connection
    31           a database connection for the database access
    31           a database connection for the database access
    32         `domainname` : basestring
    32         `domainname` : basestring
    33           the name of the AliasDomain"""
    33           the name of the AliasDomain"""
    34         self._dbh = dbh
    34         self._dbh = dbh
    35         self._name = check_domainname(domainname)
    35         self._name = check_domainname(domainname)