mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix typo
This commit is contained in:
parent
698a715d0c
commit
f3ad0d508d
@ -175,7 +175,7 @@ class StandaloneHTMLBuilder(Builder):
|
||||
self.tags_hash = get_stable_hash(sorted(self.tags))
|
||||
old_config_hash = old_tags_hash = ''
|
||||
try:
|
||||
with open(path.join(self.outdir, '.buildinfo')) as f:
|
||||
with open(path.join(self.outdir, '.buildinfo')) as fp:
|
||||
version = fp.readline()
|
||||
if version.rstrip() != '# Sphinx build info version 1':
|
||||
raise ValueError
|
||||
|
Loading…
Reference in New Issue
Block a user