From 21cc17022518ed0e29fea32dfecd41af6c8d5fba Mon Sep 17 00:00:00 2001 From: Sebastian Gode Date: Wed, 30 Oct 2024 10:18:46 +0000 Subject: [PATCH] fix pep8 --- tools/generate_doc_confpy.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/generate_doc_confpy.py b/tools/generate_doc_confpy.py index 6b764f07..bada749d 100644 --- a/tools/generate_doc_confpy.py +++ b/tools/generate_doc_confpy.py @@ -167,7 +167,8 @@ def process_repositories(args, service): context["git_fqdn"] = git_fqdn if target_repo.get("type") != "github": context["git_type"] = target_repo["type"] - if args.target_environment == "internal" and target_repo["repo"].split("/")[0] == "docs-swiss": + if (args.target_environment == "internal" + and target_repo["repo"].split("/")[0] == "docs-swiss"): context["html_options"] = dict( disable_search=True, site_name="Internal Documentation Portal", @@ -223,7 +224,8 @@ def process_repositories(args, service): context["git_fqdn"] = git_fqdn if target_repo.get("type") != "github": context["git_type"] = target_repo["type"] - if args.target_environment == "internal" and target_repo["repo"].split("/")[0] == "docs-swiss": + if (args.target_environment == "internal" + and target_repo["repo"].split("/")[0] == "docs-swiss"): context["html_options"] = dict( disable_search=True, site_name="Internal Documentation Portal",