Running autocode.py without the --schema option I get the following error,
with latest SQLAlchemy:
Traceback (most recent call last):
File "autocode.py", line 4, in <module>
sqlautocode.main()
File "/home/lele/wip/pypapi/autocode/sqlautocode/__init__.py", line 19,
in main
reflection_schema = db.dialect.get_default_schema_name(db)
File "/home/lele/wip/sqla/svn-trunk/lib/sqlalchemy/engine/base.py", line
1885, in decorated
return connection.info[key]
AttributeError: 'Engine' object has no attribute 'info'
I'm attaching a possible fix.
ciao, lele
Original issue reported on code.google.com by lelegai...@gmail.com on 12 Apr 2008 at 11:31
Original issue reported on code.google.com by
lelegai...@gmail.com
on 12 Apr 2008 at 11:31Attachments: