From 1c0a012480c9b23ad34c578aeb8d84a6a050d351 Mon Sep 17 00:00:00 2001 From: Theofilos Manitaras Date: Fri, 11 Jun 2021 17:02:10 +0200 Subject: [PATCH] Respect default values for module objects in the configuration --- reframe/core/runtime.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/reframe/core/runtime.py b/reframe/core/runtime.py index 9a4b006a1d..b4dc2205d2 100644 --- a/reframe/core/runtime.py +++ b/reframe/core/runtime.py @@ -215,11 +215,8 @@ def _load_cmds_tracked(**module): for c in conflicted: commands += modules_system.emit_unload_commands(c) - if 'path' not in mod.keys(): - mod['path'] = None - commands += modules_system.emit_load_commands( - m, module['collection'], module['path'], + m, module.get('collection', False), module.get('path', None) ) return commands