This commit is contained in:
Kovid Goyal 2022-02-25 14:21:04 +05:30
parent 02a68e7541
commit ad91f5af53
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -238,7 +238,7 @@ def merge_dicts(defaults: Dict[str, Any], newvals: Dict[str, Any]) -> Dict[str,
return ans
def resolve_config(SYSTEM_CONF: str, defconf: str, config_files_on_cmd_line: Sequence[str]) -> Generator[str, None, None]:
def resolve_config(SYSTEM_CONF: str, defconf: str, config_files_on_cmd_line: Sequence[str] = ()) -> Generator[str, None, None]:
if config_files_on_cmd_line:
if 'NONE' not in config_files_on_cmd_line:
yield SYSTEM_CONF