diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2017-06-01 10:47:46 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-03-01 10:34:56 -0800 |
commit | 54aec2ce7b75f6e22bf26410cdc6cc931bdf1089 (patch) | |
tree | 958f0a5c5bd1749b48940d0d8a29eb998654d86c /alot/helper.py | |
parent | eb353fde6a5c1588c850db4cc0a28eea4a13b844 (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.py | 2 |
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 |