Merge pull request #375 from kwotuveang3k4bk/patch-1

Update psycopg1.py
This commit is contained in:
Federico Di Gregorio 2016-01-31 12:55:52 +01:00
commit b737757eac

View File

@ -28,7 +28,7 @@ old code while porting to psycopg 2. Import it as follows::
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public # FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
# License for more details. # License for more details.
import _psycopg as _2psycopg import psycopg2._psycopg as _2psycopg
from psycopg2.extensions import cursor as _2cursor from psycopg2.extensions import cursor as _2cursor
from psycopg2.extensions import connection as _2connection from psycopg2.extensions import connection as _2connection