[Erp5-report] r40307 kazuhiko - /erp5/trunk/products/ERP5Form/Form.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Nov 16 17:01:11 CET 2010


Author: kazuhiko
Date: Tue Nov 16 17:01:11 2010
New Revision: 40307

URL: http://svn.erp5.org?rev=40307&view=rev
Log:
output the precise location of the field in log.

Modified:
    erp5/trunk/products/ERP5Form/Form.py

Modified: erp5/trunk/products/ERP5Form/Form.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Form/Form.py?rev=40307&r1=40306&r2=40307&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/Form.py [utf8] (original)
+++ erp5/trunk/products/ERP5Form/Form.py [utf8] Tue Nov 16 17:01:11 2010
@@ -202,8 +202,8 @@ class TALESValue(StaticValue):
       # We add this safety exception to make sure we always get
       # something reasonable rather than generate plenty of errors
       LOG('ERP5Form', PROBLEM,
-          'Field.get_value ( %s/%s [%s]), exception on tales_expr: ' %
-          ( form.getId(), field.getId(), id), error=sys.exc_info())
+          'Field.get_value %r [%s], exception on tales_expr: ' %
+          (field, id), error=sys.exc_info())
       # field may be ProxyField
       # here we avoid calling field.get_recursive_orig_value
       # on all fields because it can be acquired from another




More information about the Erp5-report mailing list