Commit 87f2e8de authored by Jérome Perrin's avatar Jérome Perrin

Explicitly convert to integer.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27476 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 596c0b18
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
to finish activities.\n to finish activities.\n
"""\n """\n
from Products.ERP5Type.Utils import sleep\n from Products.ERP5Type.Utils import sleep\n
\n count = int(count)\n
while len(context.portal_activities.getMessageList()) > 0:\n while len(context.portal_activities.getMessageList()) > 0:\n
context.portal_activities.process_timer(0, 0)\n context.portal_activities.process_timer(0, 0)\n
count -= 1\n count -= 1\n
...@@ -112,6 +112,7 @@ return \'Done.\'\n ...@@ -112,6 +112,7 @@ return \'Done.\'\n
<string>count</string> <string>count</string>
<string>Products.ERP5Type.Utils</string> <string>Products.ERP5Type.Utils</string>
<string>sleep</string> <string>sleep</string>
<string>int</string>
<string>len</string> <string>len</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
......
10 11
\ 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