diff --git a/offlineimap/imaputil.py b/offlineimap/imaputil.py index 7df867c..c9ff7d0 100644 --- a/offlineimap/imaputil.py +++ b/offlineimap/imaputil.py @@ -16,7 +16,6 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA import re -import string import binascii import codecs from offlineimap.ui import getglobalui diff --git a/offlineimap/localeval.py b/offlineimap/localeval.py index 7cc4e1d..5057a96 100644 --- a/offlineimap/localeval.py +++ b/offlineimap/localeval.py @@ -18,11 +18,6 @@ import imp -try: - import errno -except: - pass - class LocalEval(object): """Here is a powerfull but very dangerous option, of course.""" diff --git a/offlineimap/repository/Maildir.py b/offlineimap/repository/Maildir.py index 3cd9370..bbecee7 100644 --- a/offlineimap/repository/Maildir.py +++ b/offlineimap/repository/Maildir.py @@ -16,7 +16,6 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA import os -from stat import * from offlineimap import folder from offlineimap.ui import getglobalui from offlineimap.error import OfflineImapError diff --git a/test/OLItest/TestRunner.py b/test/OLItest/TestRunner.py index f85d5f5..c337bee 100644 --- a/test/OLItest/TestRunner.py +++ b/test/OLItest/TestRunner.py @@ -13,11 +13,8 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -import unittest -import logging import os import re -import sys import shutil import subprocess import tempfile diff --git a/test/tests/test_00_imaputil.py b/test/tests/test_00_imaputil.py index f5f58de..ab11551 100644 --- a/test/tests/test_00_imaputil.py +++ b/test/tests/test_00_imaputil.py @@ -19,7 +19,6 @@ import logging from test.OLItest import OLITestLib from offlineimap import imaputil from offlineimap.ui import UI_LIST, setglobalui -from offlineimap.CustomConfig import CustomConfigParser # Things need to be setup first, usually setup.py initializes everything. diff --git a/test/tests/test_01_basic.py b/test/tests/test_01_basic.py index 7fd408d..5e02edf 100644 --- a/test/tests/test_01_basic.py +++ b/test/tests/test_01_basic.py @@ -13,10 +13,8 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -import random import unittest import logging -import os, sys from test.OLItest import OLITestLib # Things need to be setup first, usually setup.py initializes everything. diff --git a/test/tests/test_02_MappedIMAP.py b/test/tests/test_02_MappedIMAP.py index 68e7c3a..121750f 100644 --- a/test/tests/test_02_MappedIMAP.py +++ b/test/tests/test_02_MappedIMAP.py @@ -13,10 +13,8 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -import random import unittest import logging -import os, sys from test.OLItest import OLITestLib # Things need to be setup first, usually setup.py initializes everything.