Fixed Inet constructor.

This commit is contained in:
Daniele Varrazzo 2010-02-13 02:14:38 +00:00 committed by Federico Di Gregorio
parent 0dbe068df4
commit e1b3c7b940
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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