config: Don't escape <eq> specially anymore.
This commit is contained in:
parent
4ab4ac3db6
commit
175d01f516
@ -366,7 +366,6 @@ class ConfigManager(QObject):
|
|||||||
if k.startswith(self.ESCAPE_CHAR):
|
if k.startswith(self.ESCAPE_CHAR):
|
||||||
k = k[1:]
|
k = k[1:]
|
||||||
# configparser can't handle = in keys :(
|
# configparser can't handle = in keys :(
|
||||||
k = k.replace('<eq>', '=')
|
|
||||||
if (sectname, k) in self.RENAMED_OPTIONS:
|
if (sectname, k) in self.RENAMED_OPTIONS:
|
||||||
k = self.RENAMED_OPTIONS[sectname, k]
|
k = self.RENAMED_OPTIONS[sectname, k]
|
||||||
try:
|
try:
|
||||||
|
@ -58,7 +58,6 @@ FIRST_COMMENT = r"""
|
|||||||
# You will need to escape the following values:
|
# You will need to escape the following values:
|
||||||
# - # at the start of the line (at the first position of the key) (\#)
|
# - # at the start of the line (at the first position of the key) (\#)
|
||||||
# - $ in a value ($$)
|
# - $ in a value ($$)
|
||||||
# - = in a value as <eq>
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user