mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 08:56:34 +03:00
Fixed Inet constructor.
This commit is contained in:
parent
0dbe068df4
commit
e1b3c7b940
|
@ -2,6 +2,8 @@
|
|||
|
||||
* Stop the loop variable used to create __all__ leaking in the module.
|
||||
|
||||
* Fixed Inet constructor.
|
||||
|
||||
2010-02-10 Federico Di Gregorio <fog@initd.org>
|
||||
|
||||
* lib/extensions.py: Binary was not imported from _psycopg; now it is
|
||||
|
|
|
@ -399,7 +399,7 @@ class Inet(object):
|
|||
by passing an evil value to the initializer.
|
||||
"""
|
||||
def __init__(self, addr):
|
||||
self.addr
|
||||
self.addr = addr
|
||||
|
||||
def prepare(self, conn):
|
||||
self._conn = conn
|
||||
|
|
Loading…
Reference in New Issue
Block a user