make the condDict from the default section persist #6

Open
opened 2022-08-04 15:12:59 -04:00 by nick · 1 comment

condDict.clear() is called at the start of every new cfg file. After making "default_nscript.txt", find some way to preserve the conditions for use in other files, or add an option to enable that.

condDict.clear() is called at the start of every new cfg file. After making "default_nscript.txt", find some way to preserve the conditions for use in other files, or add an option to enable that.
pacohope added this to the Release 1.0 project 2022-08-06 21:09:49 -04:00
  1. In parseConfig() parse the default section first, and store its stuff in its own dictionary (e.g., defaultDict).
  2. In tfscript.makeCFG() clear the dictionary, then insert all the defaults.
1. In `parseConfig()` parse the `default` section first, and store its stuff in its own dictionary (e.g., `defaultDict`). 2. In `tfscript.makeCFG()` clear the dictionary, then insert all the defaults.
nick was assigned by pacohope 2022-08-06 21:16:08 -04:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tfscript/tfscript#6
There is no content yet.