diff options
-rw-r--r-- | jfr_playoff/data/info.py | 3 | ||||
-rw-r--r-- | jfr_playoff/data/tournament/__init__.py | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/jfr_playoff/data/info.py b/jfr_playoff/data/info.py index 230196d..e152b6c 100644 --- a/jfr_playoff/data/info.py +++ b/jfr_playoff/data/info.py @@ -61,7 +61,8 @@ class ResultInfo(object): '%s method returned %s', method, ret) return ret except Exception as e: - if type(e) in client.get_exceptions(method): + if type(e) \ + in client.get_exceptions(method) + (NotImplementedError,): PlayoffLogger.get('resultinfo').warning( '%s method raised %s(%s)', method, type(e).__name__, str(e)) diff --git a/jfr_playoff/data/tournament/__init__.py b/jfr_playoff/data/tournament/__init__.py index ef16e54..792f634 100644 --- a/jfr_playoff/data/tournament/__init__.py +++ b/jfr_playoff/data/tournament/__init__.py @@ -3,10 +3,10 @@ from jfr_playoff.data.info import ResultInfoClient class TournamentInfoClient(ResultInfoClient): def get_results_link(self, suffix): - pass + raise NotImplementedError def is_finished(self): - pass + raise NotImplementedError def get_tournament_results(self): - pass + raise NotImplementedError |