From 2ce4226efb51d3cf692eac3798673f49e59f9cca Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Wed, 21 Feb 2007 12:47:20 +0000 Subject: [PATCH] svn: r8203 --- src/GrampsDbUtils/_GedcomParse.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/GrampsDbUtils/_GedcomParse.py b/src/GrampsDbUtils/_GedcomParse.py index c097d08e4..e0d3f3c4a 100644 --- a/src/GrampsDbUtils/_GedcomParse.py +++ b/src/GrampsDbUtils/_GedcomParse.py @@ -278,13 +278,9 @@ class StageOne: for line in self.ifile: self.lcnt +=1 data = line.split(None,2) + [''] - try: - (level, key, value) = data[:3] - value = value.strip() - level = int(level) - except: - print line - sys.exit(1) + (level, key, value) = data[:3] + value = value.strip() + level = int(level) key = key.strip() if level == 0: @@ -2955,7 +2951,6 @@ class GedcomParser(UpdateCallback): @param state: The current state @type state: CurrentState """ - print line self.parse_note(line, state.event, state.level+1) def func_event_source(self, line, state):