You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When config.yaml contains unrecognized options, a ValueError prevents fixing them using webchanges --edit-config.
To Reproduce
Add unrecognized options to config.yaml manually with an editor, then try to remove them using webchanges --edit-config.
Expected behavior
Fixing a broken configuration should always be possible with --edit-config. If the configuration check is run after saving config.yaml, it can still warn about unrecognized options that have not been fixed. Another possibility would be to show a prompt with a warning message when invoking --edit-config with an invalid configuration.
Version info
2021-08-03 08:55:26,577 cli DEBUG: webchanges: 3.8.1 Copyright 2020- Mike Borsetti
2021-08-03 08:55:26,577 cli DEBUG: Python: ('default', 'Jun 30 2021 10:22:16')
2021-08-03 08:55:26,580 cli DEBUG: System: Linux-5.13.7-arch1-1-x86_64-with-glibc2.33
The text was updated successfully, but these errors were encountered:
Describe the bug
When
config.yaml
contains unrecognized options, a ValueError prevents fixing them usingwebchanges --edit-config
.To Reproduce
Add unrecognized options to
config.yaml
manually with an editor, then try to remove them usingwebchanges --edit-config
.Expected behavior
Fixing a broken configuration should always be possible with
--edit-config
. If the configuration check is run after savingconfig.yaml
, it can still warn about unrecognized options that have not been fixed. Another possibility would be to show a prompt with a warning message when invoking--edit-config
with an invalid configuration.Version info
2021-08-03 08:55:26,577 cli DEBUG: webchanges: 3.8.1 Copyright 2020- Mike Borsetti
2021-08-03 08:55:26,577 cli DEBUG: Python: ('default', 'Jun 30 2021 10:22:16')
2021-08-03 08:55:26,580 cli DEBUG: System: Linux-5.13.7-arch1-1-x86_64-with-glibc2.33
The text was updated successfully, but these errors were encountered: