patman: Support use of stringIO in Python 3
authorSimon Glass <sjg@chromium.org>
Tue, 14 May 2019 21:53:49 +0000 (15:53 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Jul 2019 22:52:58 +0000 (16:52 -0600)
commitade1e3864f1508ad0ccbce72a39d815c2d7d7c87
tree580ccef33eb1b0b2da5602ddb56099a444730422
parente6d85ff9f239a338748871b93ed11f066609e869
patman: Support use of stringIO in Python 3

With Python 3 this class has moved. Update the code to handle both cases.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/patman/func_test.py