Fix test_exports to ignore changes in Gedcom Copyright year
This commit is contained in:
parent
2588e61a96
commit
b06c101a8a
@ -127,6 +127,9 @@ def gedfilt(line):
|
||||
elif token == "FILE" and "tests" in line:
|
||||
# probably have a media with file name
|
||||
retval = False
|
||||
elif token == "COPR" and "Copyright (c) " in line:
|
||||
# probably have a copyright line with year
|
||||
retval = False
|
||||
else: # this is an addition
|
||||
if token == "VERS" and gedfilt.prev[gedfilt.indx-1][0] == "VERS":
|
||||
# we must have a header with Gramps version
|
||||
@ -145,6 +148,9 @@ def gedfilt(line):
|
||||
elif token == "FILE" and "tests" in line:
|
||||
# probably have a media with file name
|
||||
retval = False
|
||||
elif token == "COPR" and "Copyright (c) " in line:
|
||||
# probably have a copyright line with year
|
||||
retval = False
|
||||
return retval
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user