Raise the correct exception
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
class BackendBase(object):
|
||||
def execute(input_filename, language=None):
|
||||
raise NotImplemented
|
||||
def execute(input_filename, language=None): # NOQA
|
||||
raise NotImplementedError
|
||||
|
||||
@@ -51,7 +51,7 @@ class Statistic(object):
|
||||
return unicode(self.label)
|
||||
|
||||
def get_results(self, *args, **kwargs):
|
||||
return NotImplemented
|
||||
return NotImplementedError
|
||||
|
||||
@property
|
||||
def id(self):
|
||||
|
||||
Reference in New Issue
Block a user