Bad commit here: http://anonscm.debian.org/gitweb/?p=collab-maint/lsb.git;a=commitdiff;h=f4ed7f08600d633c3daba9f494997f1c35555aed StringIO.StringIO and io.StringIO do not have identical API.