summaryrefslogtreecommitdiff
path: root/sphinx/versioning.py
diff options
context:
space:
mode:
authorDaniel Neuhäuser <ich@danielneuhaeuser.de>2010-08-10 15:22:11 +0200
committerDaniel Neuhäuser <ich@danielneuhaeuser.de>2010-08-10 15:22:11 +0200
commitc614ba995d3d08043ceb4ed03be8c8c384b4710a (patch)
tree1233b6df35b657d84fe4f964a954435a8b519533 /sphinx/versioning.py
parent549c07bade107402565479b625f6b2bad44db019 (diff)
downloadsphinx-git-c614ba995d3d08043ceb4ed03be8c8c384b4710a.tar.gz
Fixed algorithm test_insert passes now and everything seems to be working fine
Diffstat (limited to 'sphinx/versioning.py')
-rw-r--r--sphinx/versioning.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/versioning.py b/sphinx/versioning.py
index 9ba7e3f78..5806e971b 100644
--- a/sphinx/versioning.py
+++ b/sphinx/versioning.py
@@ -67,8 +67,8 @@ def merge_doctrees(old, new, condition):
continue
if not merge_node(old_node, new_node):
if old_nodes:
- for i, old_node in enumerate(old_nodes):
- if merge_node(old_node, new_node):
+ for i, very_old_node in enumerate(old_nodes):
+ if merge_node(very_old_node, new_node):
del old_nodes[i]
# If the last identified node which has not matched the
# unidentified node matches the current one, we have to