UIBase 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
3e8c4e3d19
commit
46c677151a
@ -22,10 +22,7 @@ import time
|
||||
import sys
|
||||
import traceback
|
||||
import threading
|
||||
try:
|
||||
from queue import Queue
|
||||
except ImportError: # python3
|
||||
from queue import Queue
|
||||
from queue import Queue
|
||||
from collections import deque
|
||||
|
||||
import offlineimap
|
||||
|
Loading…
Reference in New Issue
Block a user