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