Hello!

On Sun, Apr 23, 2006 at 12:56:28PM -0500, Ian Bicking wrote:
> >the attached code performs some error checking when instantiated an
> >InheritableSQLObject subclass.  WHen first expermenting with
> >iheritableObjects I found that missing a required keyword argument
> >could result in the database being
> >partially populated.  I believe the attached code addresses this.
> >
> >I have tried to implement the necesary tests however a full
> >verification would require direct peeking into the database (I wasn't
> >certain how to do this).
> >
> >Also I must confess that this is the first time i have ever submited
> >code to a project. the attached file is a diff generated with svn diff
> >(I hope it is acceptable).

   Applied in the rev. 1746 to the trunk. Thank you! I tested the patch a
bit; the biggest change is that I replaced KeyError with TypeError -
keyword arguments are not keys, and TypeError is what is logical and what
main.py uses.

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

Reply via email to