mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-01-07 11:40:01 -08:00
de3393d62b
* Remove Python 2 update modal * Remove Python 2 handling code * Remove backports dependencies * Remove uses of future and __future__ * Fix import * Remove requirements * Update lib folder * Clean up imports and blank lines --------- Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
14 lines
348 B
Python
14 lines
348 B
Python
from __future__ import absolute_import
|
|
from future.utils import PY3, PY39_PLUS
|
|
|
|
|
|
if PY39_PLUS:
|
|
# _dummy_thread and dummy_threading modules were both deprecated in
|
|
# Python 3.7 and removed in Python 3.9
|
|
from _thread import *
|
|
elif PY3:
|
|
from _dummy_thread import *
|
|
else:
|
|
__future_module__ = True
|
|
from dummy_thread import *
|