diff options
| author | DasIch <dasdasich@gmail.com> | 2010-08-10 15:22:11 +0200 |
|---|---|---|
| committer | DasIch <dasdasich@gmail.com> | 2010-08-10 15:22:11 +0200 |
| commit | 9ae387d9fdcb4bdaf1dd44217d0d8fdd9f965ede (patch) | |
| tree | 1233b6df35b657d84fe4f964a954435a8b519533 /sphinx/versioning.py | |
| parent | c03634e844d7d507bb5fc3796099b70680212daf (diff) | |
| download | sphinx-9ae387d9fdcb4bdaf1dd44217d0d8fdd9f965ede.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.py | 4 |
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 |
