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
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
Léo-Paul Géneau
slapos
Commits
bd7975b1
Commit
bd7975b1
authored
May 11, 2017
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup: zero_knowledge:write, '_options is undefined'
parent
d80c3396
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
slapos/recipe/zero_knowledge.py
slapos/recipe/zero_knowledge.py
+2
-2
No files found.
slapos/recipe/zero_knowledge.py
View file @
bd7975b1
...
@@ -43,10 +43,10 @@ class WriteRecipe(GenericBaseRecipe):
...
@@ -43,10 +43,10 @@ class WriteRecipe(GenericBaseRecipe):
if
options
.
get
(
'filename'
):
if
options
.
get
(
'filename'
):
self
.
filename
=
options
[
'filename'
].
strip
()
self
.
filename
=
options
[
'filename'
].
strip
()
self
.
path
=
os
.
path
.
join
(
buildout
[
'buildout'
][
'directory'
],
self
.
filename
)
self
.
path
=
os
.
path
.
join
(
buildout
[
'buildout'
][
'directory'
],
self
.
filename
)
del
_options
[
'filename'
]
del
self
.
_options
[
'filename'
]
else
:
else
:
self
.
path
=
options
[
'file-path'
].
strip
()
self
.
path
=
options
[
'file-path'
].
strip
()
del
options
[
'file-path'
]
del
self
.
_
options
[
'file-path'
]
del
self
.
_options
[
'recipe'
]
del
self
.
_options
[
'recipe'
]
self
.
name
=
name
self
.
name
=
name
...
...
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