Commit 01e31a37 authored by Benjamin Blanc's avatar Benjamin Blanc

erp5_bootstrap: for relooping

parent b78e6cbc
...@@ -126,6 +126,8 @@ if result.status == 204: # and (result.read() == "False"): ...@@ -126,6 +126,8 @@ if result.status == 204: # and (result.read() == "False"):
# Scalability case # Scalability case
if scalability: if scalability:
while True:
# Fix site consistency # Fix site consistency
if not testIfExist("/%%s/portal_configurator/" %%site_id): if not testIfExist("/%%s/portal_configurator/" %%site_id):
print "Going to fix site consistency..." print "Going to fix site consistency..."
...@@ -173,3 +175,4 @@ if scalability: ...@@ -173,3 +175,4 @@ if scalability:
waitFor0PendingActivities() waitFor0PendingActivities()
print "Scalability users creation: done." print "Scalability users creation: done."
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