diff options
| author | Georg Brandl <georg@python.org> | 2011-09-22 11:30:06 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2011-09-22 11:30:06 +0200 |
| commit | 94e93d946b5af239ec95899a8a9f2bde88d4ebc7 (patch) | |
| tree | 29af66a3c635eeadb0289a78f7e1000111310dff | |
| parent | ccef6db7cb04db18258c41a4fd5af6384525737a (diff) | |
| download | sphinx-94e93d946b5af239ec95899a8a9f2bde88d4ebc7.tar.gz | |
Fix #704: image file duplication bug.
| -rw-r--r-- | CHANGES | 2 | ||||
| -rw-r--r-- | sphinx/util/__init__.py | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -1,6 +1,8 @@ Release 1.0.8 (in development) ============================== +* #704: Fix image file duplication bug. + * #677: Fix parsing of multiple signatures in C++ domain. * #637: Ignore Emacs lock files when looking for source files. diff --git a/sphinx/util/__init__.py b/sphinx/util/__init__.py index b7e64b11..d2b9193c 100644 --- a/sphinx/util/__init__.py +++ b/sphinx/util/__init__.py @@ -113,11 +113,11 @@ class FilenameUniqDict(dict): return uniquename def purge_doc(self, docname): - for filename, (docs, _) in self.items(): + for filename, (docs, unique) in self.items(): docs.discard(docname) if not docs: del self[filename] - self._existing.discard(filename) + self._existing.discard(unique) def __getstate__(self): return self._existing |
