explicitly define symbols to import instead of 'import *'
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
b25a72f8c8
commit
a39128516b
@ -24,9 +24,7 @@ import subprocess
|
||||
from offlineimap.ui import getglobalui
|
||||
import threading
|
||||
from offlineimap import OfflineImapError
|
||||
from offlineimap.imaplib2 import *
|
||||
# Import the symbols we need that aren't exported by default
|
||||
from offlineimap.imaplib2 import IMAP4_PORT, IMAP4_SSL_PORT, InternalDate, Mon2num
|
||||
from offlineimap.imaplib2 import IMAP4, IMAP4_SSL, zlib, IMAP4_PORT, InternalDate, Mon2num
|
||||
|
||||
try:
|
||||
import ssl
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
from offlineimap import imaplibutil, imaputil, threadutil, OfflineImapError
|
||||
from offlineimap.ui import getglobalui
|
||||
from threading import *
|
||||
from threading import Lock, BoundedSemaphore
|
||||
import thread
|
||||
import time
|
||||
import hmac
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
import os.path
|
||||
import re # for folderfilter
|
||||
from threading import *
|
||||
from threading import Lock
|
||||
|
||||
boxes = {}
|
||||
config = None
|
||||
|
@ -16,7 +16,7 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
from threading import *
|
||||
from threading import Lock, Thread, BoundedSemaphore
|
||||
from Queue import Queue, Empty
|
||||
import traceback
|
||||
import thread
|
||||
|
Loading…
Reference in New Issue
Block a user