* src/ReadGedcom.py: remove debugging statements
svn: r5944
This commit is contained in:
@ -1,3 +1,6 @@
|
|||||||
|
2006-02-16 Don Allingham <don@gramps-project.org>
|
||||||
|
* src/ReadGedcom.py: remove debugging statements
|
||||||
|
|
||||||
2006-02-15 Alex Roitman <shura@gramps-project.org>
|
2006-02-15 Alex Roitman <shura@gramps-project.org>
|
||||||
* src/ReportUtils.py (old_calc_age): Correct the logic.
|
* src/ReportUtils.py (old_calc_age): Correct the logic.
|
||||||
|
|
||||||
|
@ -329,22 +329,18 @@ class IdMapper:
|
|||||||
gramps_id = str(gramps_id)
|
gramps_id = str(gramps_id)
|
||||||
|
|
||||||
handle = self.idswap.get(gramps_id)
|
handle = self.idswap.get(gramps_id)
|
||||||
print handle, self.idswap
|
|
||||||
if not handle:
|
if not handle:
|
||||||
if self.trans_func(gramps_id):
|
if self.trans_func(gramps_id):
|
||||||
handle = self.gen_next_id()
|
handle = self.gen_next_id()
|
||||||
else:
|
else:
|
||||||
handle = gramps_id
|
handle = gramps_id
|
||||||
self.idswap[gramps_id] = handle
|
self.idswap[gramps_id] = handle
|
||||||
print "mapping %s to %s" % (gramps_id,handle)
|
|
||||||
return handle
|
return handle
|
||||||
|
|
||||||
def convert_to_handle(self,gramps_id):
|
def convert_to_handle(self,gramps_id):
|
||||||
print "converting %s to %s" % (gramps_id, self.id2handle.get(gramps_id))
|
|
||||||
return self.id2handle.get(gramps_id)
|
return self.id2handle.get(gramps_id)
|
||||||
|
|
||||||
def save_id_to_handle(self,gramps_id,handle):
|
def save_id_to_handle(self,gramps_id,handle):
|
||||||
print "storing %s to %s" % (gramps_id, handle)
|
|
||||||
self.id2handle[gramps_id] = handle
|
self.id2handle[gramps_id] = handle
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user