Commits

Georg Brandl committed f4e6037

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

  • Participants
  • Parent commits 436e3bd

Comments (0)

Files changed (2)

 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.

File sphinx/util/__init__.py

     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