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