From ce8b73507f88a3d00335d6c355725c48b5485bc7 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Wed, 16 Dec 2015 23:04:00 +0100 Subject: [PATCH] _getmaster must use cached value --- tiramisu/option/masterslave.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tiramisu/option/masterslave.py b/tiramisu/option/masterslave.py index 6bc7f82..df14ccb 100644 --- a/tiramisu/option/masterslave.py +++ b/tiramisu/option/masterslave.py @@ -135,11 +135,11 @@ class MasterSlaves(object): def _getmaster(self, values, opt, path, validate, force_permissive, validate_properties, c_slave_path, c_slave_value, self_properties, index): - value = values._get_validated_value(opt, path, validate, - force_permissive, - validate_properties, - self_properties=self_properties, - index=index) + value = values._get_cached_value(opt, path=path, validate=validate, + force_permissive=force_permissive, + validate_properties=validate_properties, + self_properties=self_properties, + from_masterslave=True, index=index) if index is None and validate is True: masterlen = len(value) for slave in self.getslaves(opt):