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
56b43b6d
Commit
56b43b6d
authored
Jul 24, 2013
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
recipe.web_checker: Take parameters from section, not from partition.
parent
5c3d7121
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
slapos/recipe/web_checker/__init__.py
slapos/recipe/web_checker/__init__.py
+9
-5
No files found.
slapos/recipe/web_checker/__init__.py
View file @
56b43b6d
...
...
@@ -34,11 +34,15 @@ class Recipe(GenericSlapRecipe):
"""
def
_install
(
self
):
path_list
=
[]
try
:
web_checker_mail_address
=
self
.
options
[
'mail-address'
]
web_checker_smtp_host
=
self
.
options
[
'smtp-host'
]
web_checker_frontend_url
=
self
.
options
[
'frontend-url'
]
except
KeyError
:
# BBB
web_checker_mail_address
=
self
.
parameter_dict
[
'web-checker-mail-address'
]
web_checker_smtp_host
=
self
.
parameter_dict
[
'web-checker-smtp-host'
]
web_checker_frontend_url
=
self
.
parameter_dict
.
get
(
'web-checker-frontend-url'
,
self
.
options
[
'frontend-url'
])
web_checker_frontend_url
=
self
.
parameter_dict
[
'web-checker-frontend-url'
]
web_checker_working_directory
=
\
self
.
options
[
'web-checker-working-directory'
]
config
=
dict
(
...
...
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