forked from infra/otc-metadata
fix pep8
This commit is contained in:
parent
a882f93e8e
commit
21cc170225
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user