Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
isaak yansane-sisk
slapos
Commits
acb48fb1
Commit
acb48fb1
authored
Jul 31, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_bootstrap: hack in waitFor0PendingActivities
parent
c153fd95
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
slapos/recipe/erp5_bootstrap/template/erp5_bootstrap.in
slapos/recipe/erp5_bootstrap/template/erp5_bootstrap.in
+2
-2
No files found.
slapos/recipe/erp5_bootstrap/template/erp5_bootstrap.in
View file @
acb48fb1
...
...
@@ -78,7 +78,7 @@ def waitFor0PendingActivities():
time.sleep(5)
#Hack to do not take into account persistent Alarm_installMailServer acitivities
if len(message_list)==
0 and testIfExist("/%%s/portal_activities" %%site_id, "Alarm_installMailServer")
:
if len(message_list)==
1
:
print "1 pending activity for 'Alarm_installMailServer'."
print "ok."
break
...
...
@@ -86,7 +86,7 @@ def waitFor0PendingActivities():
except:
time.sleep(5)
print "Getting activities failed, retry."
raise ValueError("
Cannot testIfExist after %%d
try (for %%s s)" %%(count, str(time.time()-start_time)))
raise ValueError("
Pending activities always here after %%d check/
try (for %%s s)" %%(count, str(time.time()-start_time)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment