mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-12 16:04:48 +08:00
Reformat file with black
This commit is contained in:
parent
550aa05212
commit
e490fb732f
1 changed files with 2 additions and 2 deletions
|
@ -705,7 +705,7 @@ def config_gui(full_config: dict, config_file: str):
|
||||||
for entry in inheritance_list:
|
for entry in inheritance_list:
|
||||||
if entry in value:
|
if entry in value:
|
||||||
value.remove(entry)
|
value.remove(entry)
|
||||||
|
|
||||||
# check if value is inherited from group, and if so, delete it from repo config
|
# check if value is inherited from group, and if so, delete it from repo config
|
||||||
if full_config.g(inheritance_key) == value:
|
if full_config.g(inheritance_key) == value:
|
||||||
full_config.d(active_object_key)
|
full_config.d(active_object_key)
|
||||||
|
@ -750,7 +750,7 @@ def config_gui(full_config: dict, config_file: str):
|
||||||
"instance",
|
"instance",
|
||||||
"http_username",
|
"http_username",
|
||||||
"http_password",
|
"http_password",
|
||||||
"no_cert_verify"
|
"no_cert_verify",
|
||||||
):
|
):
|
||||||
full_config.d(f"repos.{object_name}.prometheus.{prom_key}")
|
full_config.d(f"repos.{object_name}.prometheus.{prom_key}")
|
||||||
return full_config
|
return full_config
|
||||||
|
|
Loading…
Add table
Reference in a new issue