From a5688a670e74bae2e72a336e65b2b74ef1dad2f1 Mon Sep 17 00:00:00 2001 From: Adam Sampson Date: Sun, 12 Jul 2015 13:17:24 +0100 Subject: [PATCH] Use cStringIO rather than StringIO in all modules. --- NEWS | 3 +++ rawdoglib/rawdog.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index be75a00..0ae388c 100644 --- a/NEWS +++ b/NEWS @@ -9,6 +9,9 @@ locales have non-ASCII names. Fix some style problems reported by pylint. +Use cStringIO rather than StringIO in all modules (rather than some +using one and some using the other). + - rawdog 2.20 Add a test for the maxage option (suggested by joelmo). diff --git a/rawdoglib/rawdog.py b/rawdoglib/rawdog.py index 57376bf..3721f9d 100644 --- a/rawdoglib/rawdog.py +++ b/rawdoglib/rawdog.py @@ -24,7 +24,7 @@ import rawdoglib.feedscanner from rawdoglib.persister import Persistable, Persister from rawdoglib.plugins import Box, call_hook, load_plugins -from StringIO import StringIO +from cStringIO import StringIO import base64 import calendar import cgi -- 2.35.1