From 572372d3c88314b8e5cecfbb52d070f66ee675a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 30 Jan 2019 10:00:49 +0100 Subject: [PATCH] Raise NotImplementedError instead of NotImplemented issue8022 review49731002 --- trytond/cache.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/trytond/cache.py b/trytond/cache.py index 9827dc5334..e17406d6a0 100644 --- a/trytond/cache.py +++ b/trytond/cache.py @@ -41,29 +41,29 @@ class BaseCache(object): return key def get(self, key, default=None): - raise NotImplemented + raise NotImplementedError def set(self, key, value): - raise NotImplemented + raise NotImplementedError def clear(self): - raise NotImplemented + raise NotImplementedError @classmethod def sync(cls, transaction): - raise NotImplemented + raise NotImplementedError @classmethod def commit(cls, transaction): - raise NotImplemented + raise NotImplementedError @classmethod def rollback(cls, transaction): - raise NotImplemented + raise NotImplementedError @classmethod def drop(cls, dbname): - raise NotImplemented + raise NotImplementedError class MemoryCache(BaseCache):