Fix a bug where the removal of download files and images wasn't noticed.

This commit is contained in:
Georg Brandl 2011-01-07 10:06:21 +01:00
parent 52ab6c99be
commit 2ae79f5272
2 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,9 @@
Release 1.0.7 (in development) 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. * #571: Implement ``~`` cross-reference prefix for the C domain.
* Fix regression of LaTeX output with the fix of #556. * Fix regression of LaTeX output with the fix of #556.

View File

@ -114,9 +114,9 @@ class FilenameUniqDict(dict):
def purge_doc(self, docname): def purge_doc(self, docname):
for filename, (docs, _) in self.items(): for filename, (docs, _) in self.items():
docs.discard(docname) docs.discard(docname)
#if not docs: if not docs:
# del self[filename] del self[filename]
# self._existing.discard(filename) self._existing.discard(filename)
def __getstate__(self): def __getstate__(self):
return self._existing return self._existing