Commit ff0a3100 authored by Romain Courteaud's avatar Romain Courteaud

Typo

parent be7d85b1
...@@ -52,9 +52,9 @@ class Recipe(GenericBaseRecipe): ...@@ -52,9 +52,9 @@ class Recipe(GenericBaseRecipe):
python_path=sys.executable, python_path=sys.executable,
user=zope_parsed.username, user=zope_parsed.username,
password=zope_parsed.password, password=zope_parsed.password,
site-id=zope_parsed.split('/')[1], site_id=zope_parsed.path.split('/')[1],
host="%s:%s" % (zope_parsed.hostname, zope_parsed.port), host="%s:%s" % (zope_parsed.hostname, zope_parsed.port),
sql-connection-string=mysql_connection_string, sql_connection_string=mysql_connection_string,
) )
# Runners # Runners
......
...@@ -4,15 +4,15 @@ import httplib ...@@ -4,15 +4,15 @@ import httplib
import urllib import urllib
import base64 import base64
user = %(user)s user = "%(user)s"
password = %(password)s password = "%(password)s"
host = %(host)s host = "%(host)s"
site_id = %(site-id)s site_id = "%(site_id)s"
erp5_catalog_storage = 'erp5_mysql_innodb_catalog' erp5_catalog_storage = 'erp5_mysql_innodb_catalog'
mysql_url = %(sql-connection-string)s mysql_url = "%(sql_connection_string)s"
header_dict = {'Authorization': 'Basic %s' % \ header_dict = {'Authorization': 'Basic %%s' %% \
base64.encodestring('%s:%s' % (user, password)).strip()} base64.encodestring('%%s:%%s' %% (user, password)).strip()}
zope_connection = httplib.HTTPConnection(host) zope_connection = httplib.HTTPConnection(host)
# Check if an ERP5 site is already created, as ERP5 does support having # Check if an ERP5 site is already created, as ERP5 does support having
......
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