aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/basethread.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-10-20 10:22:23 +1300
committerAldo Cortesi <aldo@nullcube.com>2016-10-20 10:22:23 +1300
commit1ecb25cdc10116c5341dc1024581365bec328b4e (patch)
tree47c7d18aaeca5453182f837ff326e113344c36d7 /netlib/basethread.py
parentf45f4e677e8cddba8160d1e4e02ca8a4515e3456 (diff)
downloadmitmproxy-1ecb25cdc10116c5341dc1024581365bec328b4e.tar.gz
mitmproxy-1ecb25cdc10116c5341dc1024581365bec328b4e.tar.bz2
mitmproxy-1ecb25cdc10116c5341dc1024581365bec328b4e.zip
mitmproxy.types.[basethread,multidict,serializable]
Diffstat (limited to 'netlib/basethread.py')
-rw-r--r--netlib/basethread.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/netlib/basethread.py b/netlib/basethread.py
deleted file mode 100644
index a3c81d19..00000000
--- a/netlib/basethread.py
+++ /dev/null
@@ -1,14 +0,0 @@
-import time
-import threading
-
-
-class BaseThread(threading.Thread):
- def __init__(self, name, *args, **kwargs):
- super().__init__(name=name, *args, **kwargs)
- self._thread_started = time.time()
-
- def _threadinfo(self):
- return "%s - age: %is" % (
- self.name,
- int(time.time() - self._thread_started)
- )