parent
b775d17dda
commit
004024a2b3
@ -1,3 +1,8 @@
|
|||||||
|
2007-11-28 Jim Sack <jgsack@san.rr.com>
|
||||||
|
* src/GrampsDb/_ReadGedcom.py : #1399 remove trail whitespace (readahead)
|
||||||
|
fixes discarded reference due to bogus handles that get created
|
||||||
|
when the reference looks like "@REF_ID@ " (note space after)
|
||||||
|
|
||||||
2007-11-26 Jim Sack <jgsack@san.rr.com>
|
2007-11-26 Jim Sack <jgsack@san.rr.com>
|
||||||
* src/plugins/ReadPkg.py : reverted previous change
|
* src/plugins/ReadPkg.py : reverted previous change
|
||||||
better to leave it broken than to risk worse
|
better to leave it broken than to risk worse
|
||||||
|
@ -451,7 +451,8 @@ class Reader:
|
|||||||
while len(self.current_list) < 5:
|
while len(self.current_list) < 5:
|
||||||
old_line = self.f.readline()
|
old_line = self.f.readline()
|
||||||
self.index += 1
|
self.index += 1
|
||||||
line = old_line.strip('\r\n')
|
# space ensures no trailing space at end-of-line
|
||||||
|
line = old_line.strip(' \r\n')
|
||||||
if line == "" and line != old_line:
|
if line == "" and line != old_line:
|
||||||
continue
|
continue
|
||||||
if line == "":
|
if line == "":
|
||||||
|
Loading…
Reference in New Issue
Block a user