summaryrefslogtreecommitdiff
path: root/cherrypy
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2018-12-09 11:55:39 -0500
committerJason R. Coombs <jaraco@jaraco.com>2018-12-09 11:55:39 -0500
commite5de08887ddb960b337e1f335c819c0b2873d850 (patch)
treef93d16331e5057f5e4a6b56beb959da5fee53b17 /cherrypy
parent308ded414c076b4334ee2ed23d2e596f4279f0f5 (diff)
downloadcherrypy-git-18.1.0.tar.gz
Raise correct exception. Fixes linter warnings.v18.1.0
Diffstat (limited to 'cherrypy')
-rw-r--r--cherrypy/lib/caching.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/cherrypy/lib/caching.py b/cherrypy/lib/caching.py
index 0db9f3e5..38bd636e 100644
--- a/cherrypy/lib/caching.py
+++ b/cherrypy/lib/caching.py
@@ -47,19 +47,19 @@ class Cache(object):
def get(self):
"""Return the current variant if in the cache, else None."""
- raise NotImplemented
+ raise NotImplementedError
def put(self, obj, size):
"""Store the current variant in the cache."""
- raise NotImplemented
+ raise NotImplementedError
def delete(self):
"""Remove ALL cached variants of the current resource."""
- raise NotImplemented
+ raise NotImplementedError
def clear(self):
"""Reset the cache to its initial, empty state."""
- raise NotImplemented
+ raise NotImplementedError
# ------------------------------ Memory Cache ------------------------------- #