diff options
Diffstat (limited to 'cherrypy/lib/sessions.py')
| -rw-r--r-- | cherrypy/lib/sessions.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cherrypy/lib/sessions.py b/cherrypy/lib/sessions.py index f7286708..5b3328f2 100644 --- a/cherrypy/lib/sessions.py +++ b/cherrypy/lib/sessions.py @@ -107,7 +107,6 @@ import time import threading import binascii import pickle -import contextlib import zc.lockfile @@ -566,8 +565,6 @@ class FileSession(Session): def release_lock(self, path=None): """Release the lock on the currently-loaded session data.""" self.lock.close() - with contextlib.suppress(FileNotFoundError): - os.remove(self.lock._path) self.locked = False def clean_up(self): |
