Remove them and start from scratch. The previous implementation did
things like
>>> dataset = 'no'
>>> dataset[...] = 'yes'
>>> dataset[...]
'ye'
else:
f = None
for s in self.settings:
+ value = s.convert_to_text(self[s.name])
try:
- dataset = group[s.name]
+ del group[s.name]
except KeyError:
- group[s.name] = s.convert_to_text(self[s.name])
- else:
- group[s.name][...] = s.convert_to_text(self[s.name])
+ pass
+ group[s.name] = value
if f:
f.close()