mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-13 23:18:01 +08:00
Minor code cleanup
This commit is contained in:
parent
271c3893c3
commit
aa5791a692
1 changed files with 1 additions and 1 deletions
|
@ -914,7 +914,7 @@ def get_repos_by_group(full_config: dict, group: str) -> List[str]:
|
|||
"""
|
||||
repo_list = []
|
||||
if full_config:
|
||||
for repo in list(full_config.g("repos").keys()):
|
||||
for repo in get_repo_list(full_config):
|
||||
if (
|
||||
full_config.g(f"repos.{repo}.repo_group") == group or group == "__all__"
|
||||
) and group not in repo_list:
|
||||
|
|
Loading…
Add table
Reference in a new issue