%PDF- %PDF-
Direktori : /proc/227033/root/opt/alt/python27/lib64/python2.7/site-packages/psycopg2/ |
Current File : //proc/227033/root/opt/alt/python27/lib64/python2.7/site-packages/psycopg2/psycopg1.pyo |
� Tc @ s� d Z d d l Z d d l m Z d d l m Z d d l Td d l j Z e Z d � Z d e f d � � YZ d e f d � � YZ d S( s) psycopg 1.1.x compatibility module This module uses the new style connection and cursor types to build a psycopg 1.1.1.x compatibility layer. It should be considered a temporary hack to run old code while porting to psycopg 2. Import it as follows:: from psycopg2 import psycopg1 as psycopg i����N( t cursor( t connection( t *c O s- t | d <t | | � } | j t j � | S( sC connect(dsn, ...) -> new psycopg 1.1.x compatible connection objectt connection_factory( R t _2connectt set_isolation_levelt _extt ISOLATION_LEVEL_READ_COMMITTED( t argst kwargst conn( ( sD /opt/alt/python27/lib64/python2.7/site-packages/psycopg2/psycopg1.pyt connect'