python/compat: use cStringIO instead of StringIO in compat.py
authorNoel Power <noel.power@suse.com>
Fri, 10 Aug 2018 18:54:46 +0000 (19:54 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 3 Sep 2018 01:22:21 +0000 (03:22 +0200)
commit94c23ee046ca9cfa36ab5aedfeb56faf8eee459c
treed56ea7027a9af2ce1b5777b3e3996778a1cd39f5
parent563c10ee63c401345bed707b9f14b41d5d2799f7
python/compat: use cStringIO instead of StringIO in compat.py

Using cStringIO for py2 seems to incur alot less problems and less changes
to the py2/py3 code then using StringIO.StringIO

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/compat.py