Advertisement
zamotivator

Untitled

May 30th, 2013
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. <connection object at 0xb72bebfc; dsn: 'dbname=postgres', closed: 0>
  2. <connection object at 0xb72bebfc; dsn: 'dbname=postgres', closed: 0>
  3. <built-in method cursor of psycopg2._psycopg.connection object at 0xb72bebfc>
  4. ERROR:amtt.db:'psycopg2._psycopg.connection' object has no attribute 'сursor'
  5. INFO:amtt.db:rollback drop database
  6. Traceback (most recent call last):
  7. File "test.py", line 14, in <module>
  8. drop_database(conn)
  9. File "/var/lib/postgresql/9.2/amtt/amtt/db.py", line 199, in drop_database
  10. execqs(conn, drop_database_query(), "drop database")
  11. File "/var/lib/postgresql/9.2/amtt/amtt/db.py", line 173, in execqs
  12. c = conn.сursor()
  13. AttributeError: 'psycopg2._psycopg.connection' object has no attribute 'сursor'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement