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
...@@ -133,11 +133,6 @@ class Recipe(object): ...@@ -133,11 +133,6 @@ class Recipe(object):
try: try:
options['connection-%s' % param] = str( options['connection-%s' % param] = str(
instance.getConnectionParameter(param)) instance.getConnectionParameter(param))
except slapmodule.NotFoundError:
try:
self.instance._synced = False
options['connection-%s' % param] = str(
self.instance.getConnectionParameter(param))
except slapmodule.NotFoundError: except slapmodule.NotFoundError:
options['connection-%s' % param] = '' options['connection-%s' % param] = ''
if self.failed is None: if self.failed is 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