aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-02-16 18:12:21 +0100
committerWojtek Kosior <koszko@koszko.org>2022-02-16 18:12:21 +0100
commit7965f1b455144220c137bcb25c4967283a6b7ff3 (patch)
treeafca0ab5c03a935b05b9da2b43c44b81b0317272 /test
parentcfe121e686755502bb0b40059f6c4a699338b341 (diff)
downloadbrowser-extension-7965f1b455144220c137bcb25c4967283a6b7ff3.tar.gz
browser-extension-7965f1b455144220c137bcb25c4967283a6b7ff3.zip
improve the build system
Diffstat (limited to 'test')
-rw-r--r--test/misc_constants.py4
1 files changed, 2 insertions, 2 deletions
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