allow = char in option values. Fixes #7804

This commit is contained in:
Yann Leboulanger 2014-09-14 14:47:03 +02:00
parent 012f39174f
commit 3cc708516e
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class OptionsParser:
new_version = gajim.config.get('version')
new_version = new_version.split('-', 1)[0]
seen = set()
regex = re.compile(r"(?P<optname>[^.]+)(?:(?:\.(?P<key>.+))?\.(?P<subname>[^.]+))?\s=\s(?P<value>.*)")
regex = re.compile(r"(?P<optname>[^.=]+)(?:(?:\.(?P<key>.+))?\.(?P<subname>[^.=]+))?\s=\s(?P<value>.*)")
for line in fd:
optname, key, subname, value = regex.match(line).groups()