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
isaak yansane-sisk
slapos
Commits
0d9785e8
Commit
0d9785e8
authored
Apr 04, 2012
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix indentation.
parent
8a9d3bdd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
slapos/recipe/slapconfiguration.py
slapos/recipe/slapconfiguration.py
+5
-5
No files found.
slapos/recipe/slapconfiguration.py
View file @
0d9785e8
...
@@ -86,13 +86,13 @@ class Recipe(object):
...
@@ -86,13 +86,13 @@ class Recipe(object):
def
__init__
(
self
,
buildout
,
name
,
options
):
def
__init__
(
self
,
buildout
,
name
,
options
):
slap
=
slapos
.
slap
.
slap
()
slap
=
slapos
.
slap
.
slap
()
slap
.
initializeConnection
(
slap
.
initializeConnection
(
options
[
'url'
],
options
[
'url'
],
options
.
get
(
'key'
),
options
.
get
(
'key'
),
options
.
get
(
'cert'
),
options
.
get
(
'cert'
),
)
)
parameter_dict
=
slap
.
registerComputerPartition
(
parameter_dict
=
slap
.
registerComputerPartition
(
options
[
'computer'
],
options
[
'computer'
],
options
[
'partition'
],
options
[
'partition'
],
).
getInstanceParameterDict
()
).
getInstanceParameterDict
()
allow_unsafe
=
bool
(
int
(
options
.
get
(
'unsafe'
,
'0'
)))
allow_unsafe
=
bool
(
int
(
options
.
get
(
'unsafe'
,
'0'
)))
match
=
self
.
OPTCRE
.
match
match
=
self
.
OPTCRE
.
match
...
...
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