VirtualMailManager/domain.py
branchv0.7.x
changeset 694 b1bfd4d1d9c0
parent 691 932cd76bf879
child 711 2a75058fc064
equal deleted inserted replaced
693:2e19ab98118a 694:b1bfd4d1d9c0
    44         A DomainError will be thrown when the *domainname* is the name of
    44         A DomainError will be thrown when the *domainname* is the name of
    45         an alias domain.
    45         an alias domain.
    46 
    46 
    47         Arguments:
    47         Arguments:
    48 
    48 
    49         `dbh` : pyPgSQL.PgSQL.Connection
    49         `dbh` : psycopg2._psycopg.connection
    50           a database connection for the database access
    50           a database connection for the database access
    51         `domainname` : basestring
    51         `domainname` : basestring
    52           The name of the domain
    52           The name of the domain
    53         """
    53         """
    54         self._name = check_domainname(domainname)
    54         self._name = check_domainname(domainname)