mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix a bug where the removal of download files and images wasn't noticed.
This commit is contained in:
parent
52ab6c99be
commit
2ae79f5272
3
CHANGES
3
CHANGES
@ -1,6 +1,9 @@
|
||||
Release 1.0.7 (in development)
|
||||
==============================
|
||||
|
||||
* Fix a bug where the removal of download files and images wasn't
|
||||
noticed.
|
||||
|
||||
* #571: Implement ``~`` cross-reference prefix for the C domain.
|
||||
|
||||
* Fix regression of LaTeX output with the fix of #556.
|
||||
|
@ -114,9 +114,9 @@ class FilenameUniqDict(dict):
|
||||
def purge_doc(self, docname):
|
||||
for filename, (docs, _) in self.items():
|
||||
docs.discard(docname)
|
||||
#if not docs:
|
||||
# del self[filename]
|
||||
# self._existing.discard(filename)
|
||||
if not docs:
|
||||
del self[filename]
|
||||
self._existing.discard(filename)
|
||||
|
||||
def __getstate__(self):
|
||||
return self._existing
|
||||
|
Loading…
Reference in New Issue
Block a user