summaryrefslogtreecommitdiff
path: root/cherrypy/process/plugins.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2018-09-04 12:45:53 -0400
committerJason R. Coombs <jaraco@jaraco.com>2018-09-04 12:45:53 -0400
commitc872e67b9cb0c0aa985da613661a6951b0c99368 (patch)
tree15a9cb0bdc9551a1adac8d9e9c845b8a2769faf7 /cherrypy/process/plugins.py
parent3cda35a4148965e048e27b043fdb5401a70e4dd3 (diff)
downloadcherrypy-git-c872e67b9cb0c0aa985da613661a6951b0c99368.tar.gz
Remove references to threading._* in Python 3.2 and earlier.
Diffstat (limited to 'cherrypy/process/plugins.py')
-rw-r--r--cherrypy/process/plugins.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cherrypy/process/plugins.py b/cherrypy/process/plugins.py
index 212ed250..7c593cc5 100644
--- a/cherrypy/process/plugins.py
+++ b/cherrypy/process/plugins.py
@@ -9,7 +9,7 @@ import threading
import _thread
from cherrypy._cpcompat import text_or_bytes
-from cherrypy._cpcompat import ntob, Timer
+from cherrypy._cpcompat import ntob
# _module__file__base is used by Autoreload to make
# absolute any filenames retrieved from sys.modules which are not
@@ -451,7 +451,7 @@ class PIDFile(SimplePlugin):
pass
-class PerpetualTimer(Timer):
+class PerpetualTimer(threading.Timer):
"""A responsive subclass of threading.Timer whose run() method repeats.