* src/ReadGedcom.py: remove debugging statements
svn: r5944
This commit is contained in:
parent
7309f0234a
commit
a7b12c2ec0
@ -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>
|
||||
* src/ReportUtils.py (old_calc_age): Correct the logic.
|
||||
|
||||
|
@ -329,22 +329,18 @@ class IdMapper:
|
||||
gramps_id = str(gramps_id)
|
||||
|
||||
handle = self.idswap.get(gramps_id)
|
||||
print handle, self.idswap
|
||||
if not handle:
|
||||
if self.trans_func(gramps_id):
|
||||
handle = self.gen_next_id()
|
||||
else:
|
||||
handle = gramps_id
|
||||
self.idswap[gramps_id] = handle
|
||||
print "mapping %s to %s" % (gramps_id,handle)
|
||||
return handle
|
||||
|
||||
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)
|
||||
|
||||
def save_id_to_handle(self,gramps_id,handle):
|
||||
print "storing %s to %s" % (gramps_id, handle)
|
||||
self.id2handle[gramps_id] = handle
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user