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
Sebastien Robin
slapos
Commits
ee719ddf
Commit
ee719ddf
authored
Nov 03, 2011
by
Antoine Catton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modify publish recipe in order to publish everything
parent
9fe7743a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
slapos/recipe/publish.py
slapos/recipe/publish.py
+5
-2
No files found.
slapos/recipe/publish.py
View file @
ee719ddf
...
@@ -29,8 +29,11 @@ from slapos.recipe.librecipe import GenericSlapRecipe
...
@@ -29,8 +29,11 @@ from slapos.recipe.librecipe import GenericSlapRecipe
class
Recipe
(
GenericSlapRecipe
):
class
Recipe
(
GenericSlapRecipe
):
def
_install
(
self
):
def
_install
(
self
):
publish_dict
=
dict
()
publish_dict
=
dict
()
for
k
,
v
in
self
.
options
.
iteritems
():
options
=
self
.
options
.
copy
()
if
k
.
startswith
(
'url'
):
del
options
[
'recipe'
]
for
k
,
v
in
options
.
iteritems
():
if
not
k
.
startswith
(
'slapos-'
):
publish_dict
[
k
]
=
v
publish_dict
[
k
]
=
v
self
.
setConnectionDict
(
publish_dict
)
self
.
setConnectionDict
(
publish_dict
)
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