# HG changeset patch # User Lennard de Rijk # Date 1233141332 0 # Node ID e93271e9c70e0aa82e1b2144d1a8e7e098d75cc7 # Parent 1f83f05f522b354a8a92dc256273f7ee78a35aec Fixed typo's in soc/views/helper/dynaform.py. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed diff -r 1f83f05f522b -r e93271e9c70e app/soc/views/helper/dynaform.py --- a/app/soc/views/helper/dynaform.py Wed Jan 28 02:28:52 2009 +0000 +++ b/app/soc/views/helper/dynaform.py Wed Jan 28 11:15:32 2009 +0000 @@ -105,7 +105,7 @@ If any of dynainclude, dynaexclude or dynafields are not present, they are retrieved from dynaform (if present in it's Meta class). - While it is rather useles to extend from a dynaform that does not have + While it is rather useless to extend from a dynaform that does not have a Meta class, it is allowed, the resulting DynaForm is the same as if newDynaForm was called with all extendDynForm's keyword arguments. @@ -135,7 +135,7 @@ dynainclude += originclude dynaexclude += origexclude - # The most intersting parameter, the 'extra fields' dictionary + # The most interesting parameter, the 'extra fields' dictionary dynaconf = getattr(meta, 'dynaconf', {}) if not dynafields: dynafields = dynaconf