[Erp5-report] r16792 - /erp5/trunk/products/ERP5Form/FormulatorPatch.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Oct 3 10:02:42 CEST 2007
Author: romain
Date: Wed Oct 3 10:02:41 2007
New Revision: 16792
URL: http://svn.erp5.org?rev=16792&view=rev
Log:
Fix typo
Modified:
erp5/trunk/products/ERP5Form/FormulatorPatch.py
Modified: erp5/trunk/products/ERP5Form/FormulatorPatch.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Form/FormulatorPatch.py?rev=16792&r1=16791&r2=16792&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/FormulatorPatch.py (original)
+++ erp5/trunk/products/ERP5Form/FormulatorPatch.py Wed Oct 3 10:02:41 2007
@@ -207,7 +207,7 @@
raise KeyError, 'Field %s is not present in request object (marker field default_%s not found).' % (repr(field.id), key)
values = REQUEST.get(key, [])
# NOTE: a hack to deal with single item selections
- if not isintance(values, list):
+ if not isinstance(values, list):
# put whatever we got in a list
values = [values]
# if we selected nothing and entry is required, give error, otherwise
More information about the Erp5-report
mailing list