master subgroups that have subgroups

This commit is contained in:
gwen 2013-01-11 09:46:41 +01:00
parent f9d6f62a70
commit 189053ad03
2 changed files with 12 additions and 12 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 29 KiB

View file

@ -96,9 +96,10 @@ class Config(object):
except TypeError: except TypeError:
pass pass
else: else:
#if master/slave group, add default_multi value if length of valu #if master/slave group, add default_multi value if length of value
#if inferior to group length #is inferior of length's group
for child in self._cfgimpl_descr._children: for child in self._cfgimpl_descr._children:
if isinstance(child, Option):
value = self._cfgimpl_values[child._name] value = self._cfgimpl_values[child._name]
if value is None: if value is None:
len_child = 0 len_child = 0
@ -109,7 +110,6 @@ class Config(object):
for num in range(len_child, max_len_child): for num in range(len_child, max_len_child):
value._append_default() value._append_default()
def cfgimpl_update(self): def cfgimpl_update(self):
"""dynamically adds `Option()` or `OptionDescription()` """dynamically adds `Option()` or `OptionDescription()`
""" """