On Mon, Oct 30, 2006 at 07:56:20PM +0100, Tormod Ravnanger Landet wrote:
> TypeError: MyClass() did not get expected keyword argument aFileID
I can simplify this even further:
class Base(InheritableSQLObject):
pass
class MyClass(Base):
base = ForeignKey("Base")
Base.createTable()
MyClass.createTable()
test = Base()
object = MyClass(base=test)
TypeError: MyClass() did not get expected keyword argument baseID
I applied your patch and added the code (slightly modified) as a test.
Committed in the revisions 2049-2051 (trunk, docs and 0.7-branch).
Thank you very much!
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss