From b06c101a8ad38ebc5d8745f57cacf5f3024cc3fd Mon Sep 17 00:00:00 2001 From: prculley Date: Sun, 1 Jan 2017 09:16:20 -0600 Subject: [PATCH] Fix test_exports to ignore changes in Gedcom Copyright year --- gramps/plugins/test/test_exports.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gramps/plugins/test/test_exports.py b/gramps/plugins/test/test_exports.py index 76ea11d9a..de0d0db70 100644 --- a/gramps/plugins/test/test_exports.py +++ b/gramps/plugins/test/test_exports.py @@ -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