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
9f7ef6ca
Commit
9f7ef6ca
authored
Oct 18, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify.
parent
c835d6c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
slapos/recipe/request.py
slapos/recipe/request.py
+2
-7
No files found.
slapos/recipe/request.py
View file @
9f7ef6ca
...
@@ -77,16 +77,11 @@ class Recipe(object):
...
@@ -77,16 +77,11 @@ class Recipe(object):
options
[
'name'
],
partition_parameter_kw
=
partition_parameter_kw
,
options
[
'name'
],
partition_parameter_kw
=
partition_parameter_kw
,
filter_kw
=
filter_kw
)
filter_kw
=
filter_kw
)
result
=
{}
for
param
in
self
.
return_parameters
:
for
param
in
self
.
return_parameters
:
try
:
try
:
result
[
param
]
=
instance
.
getConnectionParameter
(
param
)
options
[
'connection-%s'
%
param
]
=
instance
.
getConnectionParameter
(
param
)
except
slapmodule
.
NotFoundError
:
except
slapmodule
.
NotFoundError
:
result
[
param
]
=
None
options
[
'connection-%s'
%
param
]
=
''
# Return the connections parameters in options dict
for
key
,
value
in
result
.
items
():
options
[
'connection-%s'
%
key
]
=
value
def
install
(
self
):
def
install
(
self
):
return
[]
return
[]
...
...
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