Skip to content

Commit a1690dd

Browse files
author
Alex Burke
committed
remove syntax unsupported in Rocky 8 base python
1 parent 8a9e55b commit a1690dd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

mig/shared/configuration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ def fix_missing():
469469
fd.close()
470470

471471

472-
def _only_valid_for_section(candididates_dict, /, section_name):
472+
def _only_valid_for_section(candididates_dict, section_name):
473473
section_defaults = dict(_FIX_MISSING_DEFINITIONS[section_name])
474474
return {k: v for k, v in candididates_dict.items() if k in section_defaults}
475475

@@ -2889,7 +2889,7 @@ def reload_config(self, verbose, skip_log=False, disable_auth_log=False,
28892889
% keyword_all)
28902890
self.site_twofactor_mandatory_protos = [keyword_all]
28912891

2892-
def apply_loaded_config_to_division(self, loaded_config, /, section_name):
2892+
def apply_loaded_config_to_division(self, loaded_config, section_name):
28932893
active_division = self.division(section_name=section_name)
28942894

28952895
try:
@@ -2903,7 +2903,7 @@ def apply_loaded_config_to_division(self, loaded_config, /, section_name):
29032903
self._divisions[section_name] = active_division
29042904

29052905

2906-
def division(self, /, section_name):
2906+
def division(self, section_name):
29072907
if section_name not in _FIX_MISSING_DEFINITIONS:
29082908
raise NotImplementedError()
29092909

0 commit comments

Comments
 (0)