From 1894a8f871771c71982e87f8eb26084aaa33fca4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=C5=BBarnowiecki?= Date: Fri, 3 Jun 2016 18:43:10 +0200 Subject: [PATCH] allow to run under python3 without special env MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Github-Fix: #81 https://github.com/OfflineIMAP/offlineimap/issues/81 Signed-off-by: Łukasz Żarnowiecki Signed-off-by: Nicolas Sebrecht --- offlineimap.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/offlineimap.py b/offlineimap.py index 05da925..575e04d 100755 --- a/offlineimap.py +++ b/offlineimap.py @@ -20,16 +20,6 @@ import os import sys -if not 'DEVELOPING_OFFLINEIMAP_PYTHON3_SUPPORT' in os.environ: - if sys.version_info[0] > 2: - sys.stderr.write("""IIMAPS! - -Sorry, OfflineIMAP currently doesn't support Python higher than 2.x. -We're doing our best to bring in support for 3.x really soon. You can -also join us at https://github.com/OfflineIMAP/offlineimap/ and help. -""") - sys.exit(1) - from offlineimap import OfflineImap oi = OfflineImap()