From 7965f1b455144220c137bcb25c4967283a6b7ff3 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Wed, 16 Feb 2022 18:12:21 +0100 Subject: improve the build system --- test/misc_constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/misc_constants.py b/test/misc_constants.py index 51602b3..96bc9e0 100644 --- a/test/misc_constants.py +++ b/test/misc_constants.py @@ -37,13 +37,13 @@ awk_script_name = 'compute_scripts.awk' unit_test_defines = ['-D', 'MOZILLA', '-D', 'MV2', '-D', 'TEST', '-D', 'UNIT_TEST', '-D', 'DEBUG'] -conf_line_regex = re.compile(r'^([^=]+)=(.*)$') +conf_line_regex = re.compile(r'^([^=]+) = (.*)$') conf_settings = {} with open(here.parent / 'record.conf', 'rt') as conf: for line in conf.readlines(): match = conf_line_regex.match(line) if match: - conf_settings[match.group(1).strip()] = match.group(2).strip() + conf_settings[match.group(1).strip()] = match.group(2) default_proxy_host = '127.0.0.1' default_proxy_port = 1337 -- cgit v1.2.3