From: Ian B. <ia...@co...> - 2003-09-05 15:36:56
|
Oops... I think that was a bug, fixed in CVS. I should probably roll a new version from the current CVS, actually. On Friday, September 5, 2003, at 10:31 AM, Randall Randall wrote: > Hi, all. > > In trying out SQLObject, I've run across this problem: > > Going through steps to create a table "Person" worked > fine, and all the other stuff in the manual until this: > > >>> trans = conn.transaction() > >>> trans.rollback() > >>> w = Person(1, trans) > Traceback (most recent call last): > File "<stdin>", line 1, in ? > File "/usr/lib/python2.2/site-packages/SQLObject/SQLObject.py", line > 396, in __new__ > cache = connection.cache > AttributeError: 'Transaction' object has no attribute 'cache' > > Any idea about this? :) I see other people > discussing transactions as if they're using > them, so I assume it's supposed to work. > > > -- > Randall Randall <ra...@ra...> > "You assist an evil system most effectively by obeying its orders and > decrees." -- Mahatma Gandhi > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > sqlobject-discuss mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss |