Re: [SQLObject] patch to 0.7-bugfix branch (affects TurboGears)
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ph...> - 2006-03-07 15:52:57
|
On Wed, Mar 01, 2006 at 01:55:37PM -0700, Joey Smith wrote: > TG is currently including the branched tree > http://svn.colorstudy.com/SQLObject/branches/0.7-bugfix in their SVN. > This branch contains a bug in dbconnection.py in the > DBAPI.createTableSQL() method...it doesn't return as many values as > main.py expects it to. > > Attached is a patch for this branch. I simply brought the method over > as it exists in HEAD. Could someone who has rights please review and > apply this patch? Doesn't work: def createTableSQL(self, soClass): E constraints = self.createReferenceConstraints(soClass) > AttributeError: SQLiteConnection instance has no attribute > 'createReferenceConstraints' [sqlobject/dbconnection.py:527] Don't forget to test your patch next time. Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |