Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.recipe.build
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
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.recipe.build
Commits
0957481d
Commit
0957481d
authored
Mar 20, 2020
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
default: remove 'format' option
parent
84a8ce94
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
slapos/recipe/build/__init__.py
slapos/recipe/build/__init__.py
+1
-2
No files found.
slapos/recipe/build/__init__.py
View file @
0957481d
...
@@ -233,7 +233,6 @@ class Script(EnvironMixin):
...
@@ -233,7 +233,6 @@ class Script(EnvironMixin):
except
KeyError
:
except
KeyError
:
self
.
options
[
'location'
]
=
os
.
path
.
join
(
self
.
options
[
'location'
]
=
os
.
path
.
join
(
buildout
[
'buildout'
][
'parts-directory'
],
self
.
name
)
buildout
[
'buildout'
][
'parts-directory'
],
self
.
name
)
self
.
_format
=
options
.
get
(
'format'
,
'yes'
)
in
TRUE_LIST
missing
=
True
missing
=
True
keys
=
'init'
,
'install'
,
'update'
keys
=
'init'
,
'install'
,
'update'
for
option
in
keys
:
for
option
in
keys
:
...
@@ -255,7 +254,7 @@ class Script(EnvironMixin):
...
@@ -255,7 +254,7 @@ class Script(EnvironMixin):
def
_exec
(
self
,
script
):
def
_exec
(
self
,
script
):
options
=
self
.
options
options
=
self
.
options
exec
(
script
%
options
if
self
.
_format
else
script
,
dict
(
GLOBALS
,
exec
(
script
,
dict
(
GLOBALS
,
self
=
self
,
self
=
self
,
options
=
options
,
options
=
options
,
location
=
options
[
'location'
],
location
=
options
[
'location'
],
...
...
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