Commit 86c34d83 authored by Bartek Górny's avatar Bartek Górny

workaround a strange Localizer problem

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11070 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c8156005
...@@ -71,11 +71,10 @@ ...@@ -71,11 +71,10 @@
<value> <string>ob=context\n <value> <string>ob=context\n
if ob.hasFile() and not ob.hasOOFile(): #doublecheck\n if ob.hasFile() and not ob.hasOOFile(): #doublecheck\n
try:\n try:\n
res=ob.convert()\n res=ob.convert(force=1)\n
ob.log(res)\n ob.setExternalProcessingStatusMessage(\'converted\')\n
ob.setExternalProcessingStatusMessage(str(res[1]))\n
except Exception,e:\n except Exception,e:\n
ob.log(e)\n ob.log(\'Exception\',e)\n
ob.setExternalProcessingStatusMessage(str(e))\n ob.setExternalProcessingStatusMessage(str(e))\n
#raise Exception(str(e)) # do we want the activity to keep trying?\n #raise Exception(str(e)) # do we want the activity to keep trying?\n
</string> </value> </string> </value>
...@@ -132,10 +131,9 @@ if ob.hasFile() and not ob.hasOOFile(): #doublecheck\n ...@@ -132,10 +131,9 @@ if ob.hasFile() and not ob.hasOOFile(): #doublecheck\n
<string>ob</string> <string>ob</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>res</string> <string>res</string>
<string>str</string>
<string>_getitem_</string>
<string>Exception</string> <string>Exception</string>
<string>e</string> <string>e</string>
<string>str</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
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