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",