mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 17:06:33 +03:00
Fixed typo in examples.
This commit is contained in:
parent
6b0b634bae
commit
a0040160d6
|
@ -1,5 +1,7 @@
|
||||||
2005-10-18 Federico Di Gregorio <fog@initd.org>
|
2005-10-18 Federico Di Gregorio <fog@initd.org>
|
||||||
|
|
||||||
|
* examples/threads.py: fixed small typo: psycopg -> psycopg2.
|
||||||
|
|
||||||
* Big cleanup of unsigned chars to tame gcc 4.
|
* Big cleanup of unsigned chars to tame gcc 4.
|
||||||
|
|
||||||
* Big cleanup of module names (i.e., psycopg2._psycopg everywhere.)
|
* Big cleanup of module names (i.e., psycopg2._psycopg everywhere.)
|
||||||
|
|
|
@ -37,7 +37,7 @@ MODE = 1
|
||||||
## don't modify anything below tis line (except for experimenting)
|
## don't modify anything below tis line (except for experimenting)
|
||||||
|
|
||||||
import sys, psycopg2, threading
|
import sys, psycopg2, threading
|
||||||
from psycopg.pool import ThreadedConnectionPool
|
from psycopg2.pool import ThreadedConnectionPool
|
||||||
|
|
||||||
if len(sys.argv) > 1:
|
if len(sys.argv) > 1:
|
||||||
DSN = sys.argv[1]
|
DSN = sys.argv[1]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user