blob: bc1ec6857f9ba9dc370d2024869c8ec4f7e2bc71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
Description: python: fix processing of values containing "=".
Bug-Debian: https://bugs.debian.org/959887
Origin: upstream; https://gitlab.com/confget/confget/-/commit/41b3a97b3d14a2b2f4365cc3fb4e5ea2497fe58c
Author: Peter Pentchev <roam@ringlet.net>
Last-Update: 2020-05-06
--- a/python/confget/backend/ini.py
+++ b/python/confget/backend/ini.py
@@ -141,7 +141,7 @@
regex=re.compile(r'''
^
\s*
- (?P<name> \S+ )
+ (?P<name> [^\s=]+ )
\s* = \s*
(?P<value> .*? )
\s*
|