mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove redundant local.
This commit is contained in:
@@ -505,8 +505,7 @@ class BuildEnvironment:
|
|||||||
self.clear_doc(docname)
|
self.clear_doc(docname)
|
||||||
|
|
||||||
# read all new and changed files
|
# read all new and changed files
|
||||||
to_read = added | changed
|
for docname in sorted(added | changed):
|
||||||
for docname in sorted(to_read):
|
|
||||||
yield docname
|
yield docname
|
||||||
self.read_doc(docname, app=app)
|
self.read_doc(docname, app=app)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user