Commits

Mikhail Gusarov committed 6fac9db

Case-sensitive option names in per-project config file for zh_CN et al

Default RawConfigParser behivour is to lowercase all option names passed to it
which breaks two-component language names (like zh_CN), as those can't be pushed
to Tx instance.

Fix it by overriding optionxform method in OrderedRawConfigParser.

Comments (0)

Files changed (1)

                         (key, str( self._sections[section][ key ]
                         ).replace('\n', '\n\t')))
             fp.write("\n")
+
+    optionxform = str
+