Commit bc8a82ee authored by Jérome Perrin's avatar Jérome Perrin

fix NameError


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20992 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2eb91df9
...@@ -75,7 +75,7 @@ for err in check_result:\n ...@@ -75,7 +75,7 @@ for err in check_result:\n
message_list.append(err.getTranslatedMessage())\n message_list.append(err.getTranslatedMessage())\n
else:\n else:\n
# backward compatibility:\n # backward compatibility:\n
message.append(err[3])\n message_list.append(err[3])\n
\n \n
if message_list:\n if message_list:\n
raise ValidationFailed, message_list\n raise ValidationFailed, message_list\n
...@@ -137,7 +137,6 @@ if message_list:\n ...@@ -137,7 +137,6 @@ if message_list:\n
<string>err</string> <string>err</string>
<string>getattr</string> <string>getattr</string>
<string>None</string> <string>None</string>
<string>message</string>
<string>_getitem_</string> <string>_getitem_</string>
</tuple> </tuple>
</value> </value>
......
819 820
\ No newline at end of file \ 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