summaryrefslogtreecommitdiff
path: root/sphinx
diff options
context:
space:
mode:
authorDasIch <dasdasich@gmail.com>2010-08-10 15:22:11 +0200
committerDasIch <dasdasich@gmail.com>2010-08-10 15:22:11 +0200
commit9ae387d9fdcb4bdaf1dd44217d0d8fdd9f965ede (patch)
tree1233b6df35b657d84fe4f964a954435a8b519533 /sphinx
parentc03634e844d7d507bb5fc3796099b70680212daf (diff)
downloadsphinx-9ae387d9fdcb4bdaf1dd44217d0d8fdd9f965ede.tar.gz
Fixed algorithm test_insert passes now and everything seems to be working fine
Diffstat (limited to 'sphinx')
-rw-r--r--sphinx/versioning.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/versioning.py b/sphinx/versioning.py
index 9ba7e3f7..5806e971 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