Author: ianb
Date: 2006-09-10 12:25:35 -0600 (Sun, 10 Sep 2006)
New Revision: 1929
Modified:
FormEncode/trunk/formencode/fields.py
Log:
fix little bug in fields.Context
Modified: FormEncode/trunk/formencode/fields.py
===================================================================
--- FormEncode/trunk/formencode/fields.py 2006-09-10 18:10:08 UTC (rev
1928)
+++ FormEncode/trunk/formencode/fields.py 2006-09-10 18:25:35 UTC (rev
1929)
@@ -48,7 +48,7 @@
self.id_prefix = id_prefix
self.defaults = defaults
for name, value in kw.items():
- setattr(name, value)
+ setattr(self, name, value)
self.options = none_dict(kw)
def name(self, field, adding=None):
-------------------------------------------------------------------------
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
_______________________________________________
FormEncode-CVS mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/formencode-cvs