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
20affb4d
Commit
20affb4d
authored
Jul 31, 2015
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
publish-early: fix UnboundLocalError when there's nothing to do
parent
84ca2ae0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
slapos/recipe/publish_early.py
slapos/recipe/publish_early.py
+1
-1
No files found.
slapos/recipe/publish_early.py
View file @
20affb4d
...
...
@@ -63,6 +63,7 @@ class Recipe(GenericSlapRecipe):
GenericSlapRecipe
.
__init__
(
self
,
buildout
,
name
,
options
)
published_dict
=
None
publish
=
False
publish_dict
=
{}
for
line
in
options
[
'-init'
].
splitlines
():
if
line
:
k
,
v
=
line
.
split
()
...
...
@@ -74,7 +75,6 @@ class Recipe(GenericSlapRecipe):
self
.
computer_id
,
self
.
computer_partition_id
)
published_dict
=
unwrap
(
computer_partition
.
getConnectionParameterDict
())
publish_dict
=
{}
try
:
publish_dict
[
k
]
=
published_dict
[
k
]
except
KeyError
:
...
...
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