[PATCH 02/11] CustomConfig.py: remove unused imports

Nicolas Sebrecht nicolas.s-dev at laposte.net
Mon Jan 5 12:07:05 GMT 2015


Signed-off-by: Nicolas Sebrecht <nicolas.s-dev at laposte.net>
---
 offlineimap/CustomConfig.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/offlineimap/CustomConfig.py b/offlineimap/CustomConfig.py
index 1f4bcd0..61bf639 100644
--- a/offlineimap/CustomConfig.py
+++ b/offlineimap/CustomConfig.py
@@ -15,9 +15,9 @@
 #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 
 try:
-    from ConfigParser import SafeConfigParser, Error, NoOptionError
+    from ConfigParser import SafeConfigParser, Error
 except ImportError: #python3
-    from configparser import SafeConfigParser, Error, NoOptionError
+    from configparser import SafeConfigParser, Error
 from offlineimap.localeval import LocalEval
 import os
 import re
-- 
2.2.1





More information about the OfflineIMAP-project mailing list