Commit 41b84fdc authored by Vincent Pelletier's avatar Vincent Pelletier

Do not print reference in error (it's still in the input area right next to...

Do not print reference in error (it's still in the input area right next to error message). This helps reducing long-term Localizer bloat.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22644 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4fe139f5
......@@ -173,11 +173,11 @@ else:\n
try:\n
reference_range_min = convert_func(reference_range_min)\n
except ValueError:\n
generate_error(line, \'reference_range_min\', \'%s is not a valid %s\' % (reference_range_min, value_denomination))\n
generate_error(line, \'reference_range_min\', \'This is not a valid %s\' % (value_denomination, ))\n
try:\n
reference_range_max = convert_func(reference_range_max)\n
except ValueError:\n
generate_error(line, \'reference_range_max\', \'%s is not a valid %s\' % (reference_range_max, value_denomination))\n
generate_error(line, \'reference_range_max\', \'This is not a valid %s\' % (value_denomination, ))\n
if check_amount is not None: # In the case of a check book\n
check_amount_relative_url = \'/\'.join(check_amount.split(\'/\')[1:])\n
line[\'check_amount_relative_url\'] = check_amount_relative_url\n
......
404
\ No newline at end of file
405
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment