Commit d1a15db1 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

Do not add slave reference byt default in Connection Dict for publish

parent bfcd51b8
......@@ -37,7 +37,7 @@ class Recipe(GenericSlapRecipe):
options = self.options.copy()
del options['recipe']
if 'slave-reference' in options:
slave_reference = options['slave-reference']
slave_reference = options.pop('slave-reference')
for k, v in options.iteritems():
publish_dict[k] = v
self._setConnectionDict(publish_dict, slave_reference)
......
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