Commit 60940914 authored by Thomas Gambier's avatar Thomas Gambier

testnode: supports python3

since config['software_list'] is used several times, it must be a real
list object and not a filter object

See merge request nexedi/erp5!1602
parent 68baa37c
Pipeline #21021 failed with stage
in 0 seconds
...@@ -102,7 +102,7 @@ def main(*args): ...@@ -102,7 +102,7 @@ def main(*args):
instance_dict = {} instance_dict = {}
CONFIG['instance_dict'] = instance_dict CONFIG['instance_dict'] = instance_dict
if 'software_list' in config.sections(): if 'software_list' in config.sections():
CONFIG['software_list'] = filter(None, CONFIG['software_list'] = list(filter(None,
config.get("software_list", "path_list").split(",")) config.get("software_list", "path_list").split(",")))
TestNode(CONFIG).run() TestNode(CONFIG).run()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment