From: Jaroslav Kysela Date: Mon, 10 Nov 2014 19:34:26 +0000 (+0100) Subject: mkbundle: fix missed StringIO usage instead cStringIO.StringIO, fixes #2461 X-Git-Tag: v4.1~787 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cc291c2ed926676cccf42f3110a2922f55299df;p=thirdparty%2Ftvheadend.git mkbundle: fix missed StringIO usage instead cStringIO.StringIO, fixes #2461 --- diff --git a/support/mkbundle b/support/mkbundle index 6b669d0a6..5487c0939 100755 --- a/support/mkbundle +++ b/support/mkbundle @@ -78,7 +78,7 @@ def output_file ( path, name, idx, next = -1 ): if opts.gzip: o = len(d) l = opts.gzlevel - t = cStringIO.StringIO() + t = StringIO() if l < 0: l = 1 if l > 9: l = 9 z = gzip.GzipFile(filename=name, mode='w', compresslevel=l, fileobj=t)