diff options
Diffstat (limited to 'netlib/basethread.py')
-rw-r--r-- | netlib/basethread.py | 14 |
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) - ) |