Commit 17285067 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

slapos.cookbook: fixup switch_softwaretype recipe

This is a fixup of d3b77b8d.
parent cbdd26af
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
# #
############################################################################## ##############################################################################
import logging
from zc.buildout.buildout import Buildout, MissingOption, MissingSection from zc.buildout.buildout import Buildout, MissingOption, MissingSection
from zc.buildout import UserError from zc.buildout import UserError
...@@ -67,6 +68,7 @@ class SubBuildout(Buildout): ...@@ -67,6 +68,7 @@ class SubBuildout(Buildout):
class Recipe: class Recipe:
def __init__(self, buildout, name, options): def __init__(self, buildout, name, options):
self.logger = logging.getLogger(name)
self.buildout = buildout self.buildout = buildout
self.options = options self.options = options
self.name = name self.name = name
......
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