[PATCH] Allow to run under python3 without special env
Łukasz Żarnowiecki
dolohow at outlook.com
Fri Jun 3 17:43:10 BST 2016
Closes #81
Signed-off-by: Łukasz Żarnowiecki <dolohow at outlook.com>
---
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()
--
2.8.3
More information about the OfflineIMAP-project
mailing list