generate _has_dependency
authorEmmanuel Garette <egarette@cadoles.com>
Sun, 16 Oct 2016 19:46:17 +0000 (21:46 +0200)
committerEmmanuel Garette <egarette@cadoles.com>
Sun, 16 Oct 2016 19:46:17 +0000 (21:46 +0200)
tiramisu/option/optiondescription.py

index 99f27db..339416a 100644 (file)
@@ -130,7 +130,7 @@ class OptionDescription(BaseOption, StorageOptionDescription):
                 if not isinstance(option, SymLinkOption) and 'force_store_value' in option.impl_getproperties():
                     force_store_values.append((subpath, option))
                 for func, all_cons_opts, params in option._get_consistencies():
-                    option._valid_consistencies(all_cons_opts[1:])
+                    option._valid_consistencies(all_cons_opts[1:], init=False)
                     if is_multi:
                         is_slave = option.impl_is_master_slaves()
                         if not is_slave: