Remove __setitem__ for sections

This commit is contained in:
Florian Bruhin 2014-04-17 19:08:31 +02:00
parent 3089463a9a
commit abaec2f044

View File

@ -48,15 +48,6 @@ class Section:
"""
return self.values[key]
def __setitem__(self, key, value):
"""Set the config value for key.
Args:
key: The key to set the value for, as a string.
value: The value to set, as a string
"""
self.setv('conf', key, value)
def __iter__(self):
"""Iterate over all set values."""
return self.values.__iter__()