Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos-caddy
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
Guillaume Hervier
slapos-caddy
Commits
113a66bb
Commit
113a66bb
authored
Jul 25, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_bootstrap: Fix typo in template (%->%%)
parent
7d1e2d89
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
slapos/recipe/erp5_bootstrap/template/erp5_bootstrap.in
slapos/recipe/erp5_bootstrap/template/erp5_bootstrap.in
+4
-4
No files found.
slapos/recipe/erp5_bootstrap/template/erp5_bootstrap.in
View file @
113a66bb
...
@@ -41,7 +41,7 @@ def waitFor0PendingActivities():
...
@@ -41,7 +41,7 @@ def waitFor0PendingActivities():
if len(message_list)==0:
if len(message_list)==0:
print "There is no pending activities."
print "There is no pending activities."
break
break
print "There is %
d pending activities"
%len(message_list)
print "There is %
%d pending activities" %
%len(message_list)
def testIfExist(page, unexcepted_word_content="Site Error"):
def testIfExist(page, unexcepted_word_content="Site Error"):
zope_connection = getConnection()
zope_connection = getConnection()
...
@@ -83,7 +83,7 @@ if result.status == 204: # and (result.read() == "False"):
...
@@ -83,7 +83,7 @@ if result.status == 204: # and (result.read() == "False"):
if scalability:
if scalability:
# Fix site consistency
# Fix site consistency
if not testIfExist("/%%s/portal_configurator/" %site_id):
if not testIfExist("/%%s/portal_configurator/" %
%
site_id):
zope_connection = getConnection()
zope_connection = getConnection()
zope_connection.request(
zope_connection.request(
'GET', '/%%s/ERP5Site_launchFixConfigurationConsistency' %%(site_id),
'GET', '/%%s/ERP5Site_launchFixConfigurationConsistency' %%(site_id),
...
@@ -97,8 +97,8 @@ if scalability:
...
@@ -97,8 +97,8 @@ if scalability:
print "Site consistency checking: done."
print "Site consistency checking: done."
# Install testing scalability business configuration if not exists
# Install testing scalability business configuration if not exists
if testIfExist("/%%s/portal_configurator/" %site_id) \
if testIfExist("/%%s/portal_configurator/" %
%
site_id) \
and not testIfExist("/%%s/sale_order_module/" %site_id):
and not testIfExist("/%%s/sale_order_module/" %
%
site_id):
zope_connection = getConnection()
zope_connection = getConnection()
zope_connection.request(
zope_connection.request(
'GET', '/%%s/business_configuration_module/1/build' %%(business_object_name, site_id),
'GET', '/%%s/business_configuration_module/1/build' %%(business_object_name, site_id),
...
...
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