File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1587,11 +1587,11 @@ def default_setting(name, new_default):
1587
1587
default_setting ('ERROR_ON_UNDEFINED_SYMBOLS' , 0 )
1588
1588
default_setting ('WARN_ON_UNDEFINED_SYMBOLS' , 0 )
1589
1589
1590
- if 'DISABLE_EXCEPTION_CATCHING' in settings_key_changes and 'EXCEPTION_CATCHING_ALLOWED' in settings_key_changes :
1590
+ if 'DISABLE_EXCEPTION_CATCHING' in settings_map and 'EXCEPTION_CATCHING_ALLOWED' in settings_map :
1591
1591
# If we get here then the user specified both DISABLE_EXCEPTION_CATCHING and EXCEPTION_CATCHING_ALLOWED
1592
1592
# on the command line. This is no longer valid so report either an error or a warning (for
1593
1593
# backwards compat with the old `DISABLE_EXCEPTION_CATCHING=2`
1594
- if settings_key_changes ['DISABLE_EXCEPTION_CATCHING' ] in ('0' , '2' ):
1594
+ if settings_map ['DISABLE_EXCEPTION_CATCHING' ] in ('0' , '2' ):
1595
1595
diagnostics .warning ('deprecated' , 'DISABLE_EXCEPTION_CATCHING=X is no longer needed when specifying EXCEPTION_CATCHING_ALLOWED' )
1596
1596
else :
1597
1597
exit_with_error ('DISABLE_EXCEPTION_CATCHING and EXCEPTION_CATCHING_ALLOWED are mutually exclusive' )
You can’t perform that action at this time.
0 commit comments