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/
This commit is contained in:
Tom Samstag 2015-12-30 22:09:13 -08:00
parent 76315be47d
commit 4053d84a5f

View File

@ -1238,7 +1238,7 @@ class BaseReader(object):
self.ifile.seek(0) self.ifile.seek(0)
def readline(self): def readline(self):
raise NotImplemented raise NotImplementedError()
def report_error(self, problem, line): def report_error(self, problem, line):
line = line.rstrip('\n\r') line = line.rstrip('\n\r')