summaryrefslogtreecommitdiff
path: root/alot/helper.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2017-06-01 10:47:46 -0700
committerDylan Baker <dylan@pnwbakers.com>2018-03-01 10:34:56 -0800
commit54aec2ce7b75f6e22bf26410cdc6cc931bdf1089 (patch)
tree958f0a5c5bd1749b48940d0d8a29eb998654d86c /alot/helper.py
parenteb353fde6a5c1588c850db4cc0a28eea4a13b844 (diff)
py3k: use StringIO from io module instead of cStringIO
cStringIO doesn't exist in python 3.x, instead one simply uses io.StringIO and python provided a C accelerated version if possible.
Diffstat (limited to 'alot/helper.py')
-rw-r--r--alot/helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/helper.py b/alot/helper.py
index 5fab4819..400d8c0e 100644
--- a/alot/helper.py
+++ b/alot/helper.py
@@ -10,7 +10,7 @@ from datetime import timedelta
from datetime import datetime
from collections import deque
from io import BytesIO
-from cStringIO import StringIO
+from io import StringIO
import logging
import mimetypes
import os