On Sun, Dec 14, 2008 at 08:45:00AM +0200, Iwan Vosloo wrote: > import sqlobject > import sqlobject.inheritance > > connectionURI = 'postgres://rhug:r...@localhost/rhug' > conn = sqlobject.connectionForURI(connectionURI).transaction() > > > class TestMeParent(sqlobject.inheritance.InheritableSQLObject): > pass > > class TestMe(TestMeParent): > pass > > TestMeParent.createTable(connection=conn) > TestMe.createTable(connection=conn) > > t = TestMe(connection=conn) > allt = TestMe.select(connection=conn) > t0 = allt[0] # Here it complains about threadConnection not being set > # But, the select above WAS done with an explicit one...
It works with SQLObject 0.9, but doesn't work with 0.10. Seems like a bug was introduced later. Oleg. -- Oleg Broytmann http://phd.pp.ru/ p...@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss