* src/plugins/ReorderIds.py: handle more cases correctly

svn: r5271
This commit is contained in:
Julio Sánchez 2005-10-05 20:58:44 +00:00
parent 561716a398
commit a0a164621b
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2005-10-05 Julio Sanchez <jsanchez@users.sourceforge.net>
* src/plugins/ReorderIds.py: handle more cases correctly
2005-10-04 Alex Roitman <shura@gramps-project.org>
* src/plugins/PatchNames.py: Convert to new API.
* src/plugins/RelCalc.py: Convert to new API.

View File

@ -155,7 +155,7 @@ class ReorderIds(Tool.Tool):
elif find_from_id(newgramps_id) != None:
dups.append(obj.get_handle())
else:
data.set_gramps_id(newgramps_id)
obj.set_gramps_id(newgramps_id)
commit(obj,self.trans)
newids[newgramps_id] = gramps_id
except: