Commit 3bcf915d authored by Nicolas Delaby's avatar Nicolas Delaby

Xpath position starts from 1

parent eb3cfecd
......@@ -52,7 +52,7 @@ class ERP5Diff:
# Declarative interfaces
zope.interface.implements(IERP5Diff,)
__version__ = 0.2
__version__ = 0.3
def __init__(self):
"""
......@@ -313,7 +313,7 @@ class ERP5Diff:
num_map[element.tag] += 1
else:
num_map[element.tag] = 1
count_map[element.tag] = 0
count_map[element.tag] = 1
path_list = []
for element in element_list:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment