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:
parent
cc8271486b
commit
a4036ae6ad
@ -505,8 +505,7 @@ class BuildEnvironment:
|
||||
self.clear_doc(docname)
|
||||
|
||||
# read all new and changed files
|
||||
to_read = added | changed
|
||||
for docname in sorted(to_read):
|
||||
for docname in sorted(added | changed):
|
||||
yield docname
|
||||
self.read_doc(docname, app=app)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user