Commit 4a07c910 authored by Romain Courteaud's avatar Romain Courteaud

Request recipe should not fail if requested partition is not yet instanciated.

parent 0c75ab54
......@@ -79,7 +79,10 @@ class Recipe(object):
result = {}
for param in self.return_parameters:
result[param] = instance.getConnectionParameter(param)
try:
result[param] = instance.getConnectionParameter(param)
except slapmodule.NotFoundError:
result[param] = None
# Return the connections parameters in options dict
for key, value in result.items():
......
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