Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
nexedi
slapos
Commits
f68fc3d0
Commit
f68fc3d0
authored
12 years ago
by
Cédric de Saint Martin
Browse files
Options
Download
Email Patches
Plain Diff
Fix unbound logger variable
parent
33817036
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
slapos/recipe/request.py
slapos/recipe/request.py
+2
-2
No files found.
slapos/recipe/request.py
View file @
f68fc3d0
...
...
@@ -83,7 +83,7 @@ class Recipe(object):
failed
=
None
def
__init__
(
self
,
buildout
,
name
,
options
):
logger
=
logging
.
getLogger
(
name
)
self
.
logger
=
logging
.
getLogger
(
name
)
slap
=
slapmodule
.
slap
()
...
...
@@ -104,7 +104,7 @@ class Recipe(object):
return_parameters
=
[
str
(
parameter
).
strip
()
for
parameter
in
options
[
'return'
].
split
()]
else
:
logger
.
debug
(
"No parameter to return to main instance."
self
.
logger
.
debug
(
"No parameter to return to main instance."
"Be careful about that..."
)
software_type
=
options
.
get
(
'software-type'
,
'RootInstanceSoftware'
)
...
...
This diff is collapsed.
Click to expand it.
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