Make sections and settings case-insensitive (stored lowercase).

When we get profiles we should be case-preserving, but this will do for now.
This commit is contained in:
Thomas Hurst 2008-08-15 13:22:07 +01:00
parent c0ab0e3f34
commit 1f0bb51e76

View File

@ -118,11 +118,11 @@ class ConfigFile:
def _section(self, section):
dbg("Section %s" % repr(section))
self._currsection = section
self._currsection = section.lower()
def _setting(self, setting):
dbg("Setting %s" % repr(setting))
self._currsetting = setting
self._currsetting = setting.lower()
def _value(self, value):
dbg("Value %s" % repr(value))