Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1df1c06

Browse files
authored
Merge pull request #24892 from tacaswell/fix_sphinx_error
FIX: error in formatting in error string in redirect extension
2 parents c098dfd + 95ab16f commit 1df1c06

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/sphinxext/redirect_from.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def merge_domaindata(self, docnames, otherdata):
8383
elif self.redirects[src] != dst:
8484
raise ValueError(
8585
f"Inconsistent redirections from {src} to "
86-
F"{self.redirects[src]} and {otherdata.redirects[src]}")
86+
f"{self.redirects[src]} and {otherdata['redirects'][src]}")
8787

8888

8989
class RedirectFrom(Directive):

0 commit comments

Comments
 (0)