diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Bcfg2/Options.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/Bcfg2/Options.py b/src/lib/Bcfg2/Options.py index 76868e991..a69300178 100644 --- a/src/lib/Bcfg2/Options.py +++ b/src/lib/Bcfg2/Options.py @@ -21,6 +21,11 @@ DEFAULT_INSTALL_PREFIX = '/usr' class DefaultConfigParser(ConfigParser.ConfigParser): + def __init__(self,*args,**kwargs): + """Make configuration options case sensitive""" + ConfigParser.ConfigParser.__init__(self,*args,**kwargs) + self.optionxform = str + def get(self, section, option, **kwargs): """ convenience method for getting config items """ default = None |