aboutsummaryrefslogtreecommitdiffstats
path: root/docs/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index b06300a3..2b68fc0f 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -227,7 +227,6 @@ if os.getenv("BUILD_DOCS_FOR_HEAD", "False").lower() == "true":
with contextlib.suppress(git.InvalidGitRepositoryError):
branch = git.Repo(PROJECT_ROOT).active_branch.name
-
if branch:
logger.info(f"Adding branch {branch} to build whitelist.")
smv_branch_whitelist = f"main|{branch}"