Skip to content

Commit a58e9b1

Browse files
authored
Merge pull request #191 from hugovk/build-fresh-commit
2 parents 76c0d0a + 0f466ec commit a58e9b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_docs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1117,7 +1117,6 @@ def build_docs(args) -> bool:
11171117
cpython_repo = Repository(
11181118
"https://github.com/python/cpython.git", args.build_root / "cpython"
11191119
)
1120-
cpython_repo.update()
11211120
while todo:
11221121
version, language = todo.pop()
11231122
logging.root.handlers[0].setFormatter(
@@ -1129,6 +1128,7 @@ def build_docs(args) -> bool:
11291128
scope = sentry_sdk.get_isolation_scope()
11301129
scope.set_tag("version", version.name)
11311130
scope.set_tag("language", language.tag)
1131+
cpython_repo.update()
11321132
builder = DocBuilder(
11331133
version, versions, language, languages, cpython_repo, **vars(args)
11341134
)

0 commit comments

Comments
 (0)