From 4053d84a5f0b9a461ebb4f903c0d59979a20a860 Mon Sep 17 00:00:00 2001 From: Tom Samstag Date: Wed, 30 Dec 2015 22:09:13 -0800 Subject: [PATCH] fix a raising of NotImplemented It may not have caused any issues, but changing this from raising NotImplemented to a NotImplementedError. Explanation about why this is important at: http://mouadino.appspot.com/notimpelementederror-vs-notimplemented-in-python/ --- gramps/plugins/lib/libgedcom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/lib/libgedcom.py b/gramps/plugins/lib/libgedcom.py index 6c7719775..50e73d420 100644 --- a/gramps/plugins/lib/libgedcom.py +++ b/gramps/plugins/lib/libgedcom.py @@ -1238,7 +1238,7 @@ class BaseReader(object): self.ifile.seek(0) def readline(self): - raise NotImplemented + raise NotImplementedError() def report_error(self, problem, line): line = line.rstrip('\n\r')