Skip to content

Commit fc67cae

Browse files
committed
bug fix for config override member vars
1 parent a0f14dc commit fc67cae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def PopulateProjectDetails(this):
153153

154154
# This is messy because we can't query this.name or executor.name and need to get "name" from a config or arg val to set projectName.
155155
for key, mem in this.configNameOverrides.items():
156-
this.Set(key, this.FetchWithout(['this', 'executor', 'precursor', 'globals'], key, default=this.executor.FetchWithout(['this', 'globals'], key, default=eval(f"default_{key}"), start=False)[0]))
156+
this.Set(mem, this.FetchWithout(['this', 'executor', 'precursor', 'globals'], key, default=this.executor.FetchWithout(['this', 'globals'], key, default=eval(f"default_{key}"), start=False)[0]))
157157
# if (getattr(this, mem) is None):
158158
# logging.warning(f"Not configured: {key}")
159159

0 commit comments

Comments
 (0)