Skip to content

Commit 427280a

Browse files
committed
Fix indentation
1 parent 7409bb1 commit 427280a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sphinx/builders/linkcheck.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,8 +407,8 @@ def _check_uri(self, uri: str, hyperlink: Hyperlink) -> tuple[str, str, int]:
407407
_tls_info=(self.tls_verify, self.tls_cacerts),
408408
) as response:
409409
if (self.check_anchors and response.ok and anchor
410-
and not contains_anchor(response, anchor)):
411-
raise Exception(__(f'Anchor {anchor!r} not found'))
410+
and not contains_anchor(response, anchor)):
411+
raise Exception(__(f'Anchor {anchor!r} not found'))
412412

413413
# Copy data we need from the (closed) response
414414
status_code = response.status_code

0 commit comments

Comments
 (0)