Commit 5943c670 authored by Vincent Pelletier's avatar Vincent Pelletier Committed by Sebastien Robin

Save a __setattr__ on construction.

parent 0766a016
......@@ -29,6 +29,7 @@ import logging
from slapos import slap as slapmodule
class Recipe(object):
failed = None
def __init__(self, buildout, name, options):
logger = logging.getLogger(name)
......@@ -71,7 +72,6 @@ class Recipe(object):
options.get('name', name), partition_parameter_kw=partition_parameter_kw,
filter_kw=filter_kw, shared=isSlave)
self.failed = None
for param in return_parameters:
try:
options['connection-%s' % param] = str(
......
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