Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <connection object at 0xb72bebfc; dsn: 'dbname=postgres', closed: 0>
- <connection object at 0xb72bebfc; dsn: 'dbname=postgres', closed: 0>
- <built-in method cursor of psycopg2._psycopg.connection object at 0xb72bebfc>
- ERROR:amtt.db:'psycopg2._psycopg.connection' object has no attribute 'сursor'
- INFO:amtt.db:rollback drop database
- Traceback (most recent call last):
- File "test.py", line 14, in <module>
- drop_database(conn)
- File "/var/lib/postgresql/9.2/amtt/amtt/db.py", line 199, in drop_database
- execqs(conn, drop_database_query(), "drop database")
- File "/var/lib/postgresql/9.2/amtt/amtt/db.py", line 173, in execqs
- c = conn.сursor()
- AttributeError: 'psycopg2._psycopg.connection' object has no attribute 'сursor'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement