threadutil imports without try except
Python 2 is not supported now. The import is the same in try and except.
This commit is contained in:
parent
ead8b157af
commit
aebd530aaf
@ -16,9 +16,6 @@
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
from threading import Lock, Thread, BoundedSemaphore, currentThread
|
||||
try:
|
||||
from queue import Queue, Empty
|
||||
except ImportError: # python3
|
||||
from queue import Queue, Empty
|
||||
import traceback
|
||||
import os.path
|
||||
|
Loading…
Reference in New Issue
Block a user