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
38898f1f
Commit
38898f1f
authored
Sep 24, 2012
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
General recipe cleanup
- No need of so much debug - remove dead code - Indent
parent
3aafe1c2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
slapos/recipe/request.py
slapos/recipe/request.py
+1
-6
No files found.
slapos/recipe/request.py
View file @
38898f1f
...
@@ -101,7 +101,6 @@ class Recipe(object):
...
@@ -101,7 +101,6 @@ class Recipe(object):
options
[
'computer-id'
],
options
[
'partition-id'
]).
request
options
[
'computer-id'
],
options
[
'partition-id'
]).
request
return_parameters
=
[]
return_parameters
=
[]
self
.
return_parameters
=
[]
if
'return'
in
options
:
if
'return'
in
options
:
return_parameters
=
[
str
(
parameter
).
strip
()
return_parameters
=
[
str
(
parameter
).
strip
()
for
parameter
in
options
[
'return'
].
split
()]
for
parameter
in
options
[
'return'
].
split
()]
...
@@ -121,10 +120,6 @@ class Recipe(object):
...
@@ -121,10 +120,6 @@ class Recipe(object):
for
config_parameter
in
options
[
'config'
].
split
():
for
config_parameter
in
options
[
'config'
].
split
():
partition_parameter_kw
[
config_parameter
]
=
\
partition_parameter_kw
[
config_parameter
]
=
\
options
[
'config-%s'
%
config_parameter
]
options
[
'config-%s'
%
config_parameter
]
print
'from : %s
\
n
'
%
options
[
'partition-id'
]
print
'requested %s (%s), parameters : %s
\
n
\
n
'
%
(
options
[
'name'
],
software_type
,
partition_parameter_kw
)
isSlave
=
options
.
get
(
'slave'
,
''
).
lower
()
in
\
isSlave
=
options
.
get
(
'slave'
,
''
).
lower
()
in
\
librecipe
.
GenericBaseRecipe
.
TRUE_VALUES
librecipe
.
GenericBaseRecipe
.
TRUE_VALUES
...
...
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