Commit 009709b5 authored by Romain Courteaud's avatar Romain Courteaud Committed by Antoine Catton

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

parent e9db1601
......@@ -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