* src/ReadGedcom.py: remove debugging statements

svn: r5944
This commit is contained in:
Don Allingham 2006-02-16 21:38:42 +00:00
parent 7309f0234a
commit a7b12c2ec0
2 changed files with 3 additions and 4 deletions

View File

@ -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.

View File

@ -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