* src/plugins/ReadGedcom.py (GedcomParser.__init__): Use

universal newline mode to work with Mac newlines.


svn: r3269
This commit is contained in:
Alex Roitman 2004-07-13 03:08:35 +00:00
parent 7ff4d55037
commit d016cc5775
2 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,8 @@
* src/plugins/WriteGedcom.py: Switch from radiobuttons to menu * src/plugins/WriteGedcom.py: Switch from radiobuttons to menu
for the encoding choice. for the encoding choice.
* src/plugins/gedcomexport.glade: Clean up interface. * src/plugins/gedcomexport.glade: Clean up interface.
* src/plugins/ReadGedcom.py (GedcomParser.__init__): Use
universal newline mode to work with Mac newlines.
2004-07-11 Don Allingham <dallingham@users.sourceforge.net> 2004-07-11 Don Allingham <dallingham@users.sourceforge.net>
* src/FamilyView.py: handle deleting of parent properly * src/FamilyView.py: handle deleting of parent properly

View File

@ -220,7 +220,7 @@ class GedcomParser:
self.is_ftw = 0 self.is_ftw = 0
self.idswap = {} self.idswap = {}
self.f = open(file,"r") self.f = open(file,"rU")
self.filename = file self.filename = file
self.index = 0 self.index = 0
self.backoff = 0 self.backoff = 0