summaryrefslogtreecommitdiff
path: root/debian/patches/python-value-eq.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/python-value-eq.patch')
-rw-r--r--debian/patches/python-value-eq.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/python-value-eq.patch b/debian/patches/python-value-eq.patch
new file mode 100644
index 0000000..bc1ec68
--- /dev/null
+++ b/debian/patches/python-value-eq.patch
@@ -0,0 +1,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*