Deprication warning

2 views
Skip to first unread message

Italo Maia

unread,
May 9, 2009, 4:35:17 PM5/9/09
to glashammer
Just got this deprication warning:

/usr/lib/python2.5/site-packages/Glashammer-0.2.1dev_20090507-
py2.5.egg/glashammer/bundles/sqladb.py:276: DeprecationWarning: The
sqladb bundle is depracated. Use sqlalchdb
warnings.warn("The sqladb bundle is depracated. Use sqlalchdb",
DeprecationWarning)

How could i solve that?

Ali Afshar

unread,
May 9, 2009, 5:33:09 PM5/9/09
to glash...@googlegroups.com
You can either use the newer (better, in my opinion) sqlalchdb bundle,
or you can safely ignore the warning.

Ali

Italo Maia

unread,
May 10, 2009, 2:31:15 AM5/10/09
to glashammer
Yeah, i found out the solution minutes after reporting the problem.
The deal was the code to do so was not documented. Here's what needs
to be changed:

from glashammer.bundles.sqlalchdb import setup_sqlalchdb

Then you add setup_sqlalchdb to your app.
Reply all
Reply to author
Forward
0 new messages