f-strings

This commit is contained in:
Devaev Maxim
2019-06-28 18:59:36 +03:00
parent ff270591b0
commit ef3c62a7af
15 changed files with 40 additions and 38 deletions

View File

@@ -119,7 +119,7 @@ def _init_config(config_path: str, sections: List[str], override_options: List[s
return config
except (ConfigError, UnknownPluginError) as err:
raise SystemExit("Config error: %s" % (str(err)))
raise SystemExit(f"Config error: {err}")
def _dump_config(config: Section) -> None: