diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-03-11 02:45:14 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-03-11 03:01:50 +0100 |
| commit | 0bd841def7f3911771afa2346acae4938033ace9 (patch) | |
| tree | b3a68688f3f0f88d9ae903123e28ed17c6b34841 /tests/config_set_bool | |
| parent | 02d1131cf6ee76ce89e63121aa90512e153e15bf (diff) | |
Properly remember y user values for choice symbols
Commit e8b4ecb ("Don't special-case user_value for choice symbols set to
y") was meant to make user_value reflect an y value assigned to a choice
symbol, but didn't get it right for load_config() with replace=True: The
user value was set at first, but was then unset again due to a misplaced
'_was_set = True' assignment.
This commit makes y choice symbol user values always be remembered. The
correctness of generated files was not affected, since the user
selection of a choice is actually remembered as Choice.user_selection.
The previous commit just turned into a no-op for load_config() with
replace=True.
Diffstat (limited to 'tests/config_set_bool')
0 files changed, 0 insertions, 0 deletions
