diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/misc_constants.py | 4 |
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 |