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
Kwabena Antwi-Boasiako
slapos
Commits
fd82b4c6
Commit
fd82b4c6
authored
Mar 20, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify configuration
parent
baf9328c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
slapos/recipe/erp5_bootstrap/__init__.py
slapos/recipe/erp5_bootstrap/__init__.py
+6
-4
No files found.
slapos/recipe/erp5_bootstrap/__init__.py
View file @
fd82b4c6
...
@@ -46,12 +46,14 @@ class Recipe(GenericBaseRecipe):
...
@@ -46,12 +46,14 @@ class Recipe(GenericBaseRecipe):
password
=
parsed
.
password
password
=
parsed
.
password
)
)
zope_parsed
=
urlparse
.
urlparse
(
self
.
options
[
'zope-url'
])
config
=
dict
(
config
=
dict
(
python_path
=
sys
.
executable
,
python_path
=
sys
.
executable
,
user
=
self
.
options
[
'user'
]
,
user
=
zope_parsed
.
username
,
password
=
self
.
options
[
'password'
]
,
password
=
zope_parsed
.
password
,
site
-
id
=
self
.
options
[
'site-id'
],
site
-
id
=
zope_parsed
.
split
(
'/'
)[
1
],
host
=
self
.
options
[
'host'
]
,
host
=
"%s:%s"
%
(
zope_parsed
.
hostname
,
zope_parsed
.
port
)
,
sql
-
connection
-
string
=
mysql_connection_string
,
sql
-
connection
-
string
=
mysql_connection_string
,
)
)
...
...
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