From 9adfffe33927cb01c81b75021513110e4f951488 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Thu, 17 Mar 2016 23:16:21 +0100 Subject: [PATCH] set force_permissive to append --- tiramisu/option/masterslave.py | 3 ++- tiramisu/setting.py | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tiramisu/option/masterslave.py b/tiramisu/option/masterslave.py index edb798a..69e391f 100644 --- a/tiramisu/option/masterslave.py +++ b/tiramisu/option/masterslave.py @@ -229,7 +229,8 @@ class MasterSlaves(object): else: return value else: - multi.append(value, setitem=False, force=True, validate=validate) + multi.append(value, setitem=False, force=True, validate=validate, + force_permissive=force_permissive) one_has_value = True if not one_has_value: #raise last err diff --git a/tiramisu/setting.py b/tiramisu/setting.py index 0eb6cf0..6588de2 100644 --- a/tiramisu/setting.py +++ b/tiramisu/setting.py @@ -427,8 +427,6 @@ class Settings(object): if not force: forbidden_properties = forbidden_set_properties & properties if forbidden_properties: - print "super ..." - raise Exception('pouet') raise ConfigError(_('cannot add those properties: {0}').format( ' '.join(forbidden_properties))) self._p_.setproperties(path, properties)