diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2018-12-09 11:55:39 -0500 |
|---|---|---|
| committer | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2019-06-23 17:04:57 +0200 |
| commit | ec0b08f0cd5df52d8d00d8e17e3cf093c845447e (patch) | |
| tree | 5df3fc4d595c43ed76d778d1119604606377b897 /cherrypy | |
| parent | 6c661c2ee235cda286b0c3c028a70365d1b269a4 (diff) | |
| download | cherrypy-git-ec0b08f0cd5df52d8d00d8e17e3cf093c845447e.tar.gz | |
Raise correct exception. Fixes linter warnings.
Diffstat (limited to 'cherrypy')
| -rw-r--r-- | cherrypy/lib/caching.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cherrypy/lib/caching.py b/cherrypy/lib/caching.py index fed325a6..1673b3c8 100644 --- a/cherrypy/lib/caching.py +++ b/cherrypy/lib/caching.py @@ -50,19 +50,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 ------------------------------- # |
