Author: gh
Date: 2006-11-09 22:58:53 -0700 (Thu, 09 Nov 2006)
New Revision: 2065

Modified:
   FormEncode/branches/gettext-enabled/formencode/schema.py
Log:
Bugfix schema.py str assertion; see 
http://groups.google.at/group/turbogears/msg/bc89e30db68450b2?hl=de&;

Modified: FormEncode/branches/gettext-enabled/formencode/schema.py
===================================================================
--- FormEncode/branches/gettext-enabled/formencode/schema.py    2006-11-06 
19:47:05 UTC (rev 2064)
+++ FormEncode/branches/gettext-enabled/formencode/schema.py    2006-11-10 
05:58:53 UTC (rev 2065)
@@ -309,7 +309,7 @@
             ['%s' % (format_compound_error(value, indent=indent))
              for value in v
              if value is not None])
-    elif isinstance(v, str):
+    elif isinstance(v, basestring):
         return v
     else:
         assert 0, "I didn't expect something like %s" % repr(v)


-------------------------------------------------------------------------
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

Reply via email to