Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos-mynij-dev
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mynij
slapos-mynij-dev
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
Hide 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):
...
@@ -34,11 +34,15 @@ class Recipe(GenericSlapRecipe):
"""
"""
def
_install
(
self
):
def
_install
(
self
):
path_list
=
[]
path_list
=
[]
web_checker_mail_address
=
self
.
parameter_dict
[
'web-checker-mail-address'
]
try
:
web_checker_smtp_host
=
self
.
parameter_dict
[
'web-checker-smtp-host'
]
web_checker_mail_address
=
self
.
options
[
'mail-address'
]
web_checker_frontend_url
=
self
.
parameter_dict
.
get
(
web_checker_smtp_host
=
self
.
options
[
'smtp-host'
]
'web-checker-frontend-url'
,
web_checker_frontend_url
=
self
.
options
[
'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
[
'web-checker-frontend-url'
]
web_checker_working_directory
=
\
web_checker_working_directory
=
\
self
.
options
[
'web-checker-working-directory'
]
self
.
options
[
'web-checker-working-directory'
]
config
=
dict
(
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