Commit 9e7ad8a9 authored by Łukasz Nowak's avatar Łukasz Nowak

self.logger is expected.

parent 65604556
......@@ -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')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment