Revert from squashed commit: request.py tries to fetch parameter twice.

Useless because it happens only with locally hacked slapos.core.

Squashed commits are evil
Squashed commits are evil
Squashed commits are evil
Squashed commits are evil
parent 97daf9b2
...@@ -134,14 +134,9 @@ class Recipe(object): ...@@ -134,14 +134,9 @@ class Recipe(object):
options['connection-%s' % param] = str( options['connection-%s' % param] = str(
instance.getConnectionParameter(param)) instance.getConnectionParameter(param))
except slapmodule.NotFoundError: except slapmodule.NotFoundError:
try: options['connection-%s' % param] = ''
self.instance._synced = False if self.failed is None:
options['connection-%s' % param] = str( self.failed = param
self.instance.getConnectionParameter(param))
except slapmodule.NotFoundError:
options['connection-%s' % param] = ''
if self.failed is None:
self.failed = param
def install(self): def install(self):
if self.failed is not None: if self.failed is not None:
......
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