set force_permissive to append
authorEmmanuel Garette <egarette@cadoles.com>
Thu, 17 Mar 2016 22:16:21 +0000 (23:16 +0100)
committerEmmanuel Garette <egarette@cadoles.com>
Thu, 17 Mar 2016 22:16:21 +0000 (23:16 +0100)
tiramisu/option/masterslave.py
tiramisu/setting.py

index edb798a..69e391f 100644 (file)
@@ -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
index 0eb6cf0..6588de2 100644 (file)
@@ -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)