* src/GrampsDbUtils/_GedcomParse.py (GedcomParser.__parse_record): fix note handling

svn: r8281
This commit is contained in:
Don Allingham 2007-03-07 05:25:33 +00:00
parent 77fbebb288
commit c1c6e32085
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@
Fix 0000956: Event order within GRAMPS not replicated in web report Fix 0000956: Event order within GRAMPS not replicated in web report
2007-03-06 Don Allingham <don@gramps-project.org> 2007-03-06 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py (GedcomParser.__parse_record): fix note handling
* src/Editors/_EditFamily.py (EditFamily.save): disable data changed warning * src/Editors/_EditFamily.py (EditFamily.save): disable data changed warning
when saving the data - we know that it changed. when saving the data - we know that it changed.

View File

@ -1253,7 +1253,7 @@ class GedcomParser(UpdateCallback):
self.dbase.commit_source(source, self.trans) self.dbase.commit_source(source, self.trans)
elif key[0:4] == "NOTE": elif key[0:4] == "NOTE":
try: try:
line.data = line.data[6:] line.data = line.data[5:]
except: except:
pass pass
self.__parse_inline_note(line, 1) self.__parse_inline_note(line, 1)