From: Michael Tremer Date: Tue, 27 Mar 2012 11:25:53 +0000 (+0200) Subject: BytesIO can only work with strings. X-Git-Tag: 0.9.22~49 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=73c2707ca053136a38226a7187b9a3ed89bce9d1;p=pakfire.git BytesIO can only work with strings. --- diff --git a/python/pakfire/config.py b/python/pakfire/config.py index 7d2986ec5..a051910d7 100644 --- a/python/pakfire/config.py +++ b/python/pakfire/config.py @@ -127,6 +127,7 @@ class _Config(object): if not s: return + s = str(s) buf = io.BytesIO(s) config = ConfigParser()