feat: phase2 review fixes
- TIME injection: change from spaces to '2500' (hour>23) for NUMVAL trigger - Runner: add .resolve() to work_dir to fix chdir+relative path breakage - Coverage: per-target field overrides for DP#9-#12 (START-DATE=20240115 etc.) - .gitignore: add compilation artifacts, temp scripts, test outputs
This commit is contained in:
@@ -180,5 +180,10 @@ def _assigns_list_to_dict(assigns_list: list) -> dict:
|
||||
tgt = a.get("tgt", "")
|
||||
src = a.get("src") or a.get("source_vars")
|
||||
if tgt and src:
|
||||
result[tgt] = [a]
|
||||
a_norm = dict(a)
|
||||
if 'type' in a_norm:
|
||||
a_norm['type'] = a_norm['type'].lower()
|
||||
if 'src' in a_norm and not a_norm.get('source_vars'):
|
||||
a_norm['source_vars'] = [a_norm['src']]
|
||||
result[tgt] = [a_norm]
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user