diff --git a/tiramisu/option.py b/tiramisu/option.py index be1e81f..8cb6638 100644 --- a/tiramisu/option.py +++ b/tiramisu/option.py @@ -58,10 +58,7 @@ class Multi(list): super(Multi, self).__init__(lst) # we add the slaves without modifying the master for l in lst: - try: - self.append(l, add_master=False) - except Exception, err: - print err + self.append(l, add_master=False) else: if force_append: self.config._valid_len(self.opt._name, lst) @@ -84,7 +81,8 @@ class Multi(list): except TypeError: self._setvalue(value, who=settings.get_owner()) multis = [] - for name, multi in self.config: + for opt in self.config._cfgimpl_descr._children: + multi = self.config._cfgimpl_values[opt._name] multis.append(multi) for multi in multis: if master == multi.opt._name: