]> git.dujemihanovic.xyz Git - u-boot.git/commit
patman: Fix doctest StringIO import for python 3.x
authorPaul Burton <paul.burton@imgtec.com>
Tue, 27 Sep 2016 15:03:55 +0000 (16:03 +0100)
committersjg <sjg@chromium.org>
Sun, 9 Oct 2016 15:30:32 +0000 (09:30 -0600)
commitf5d44b9bae64d4fc347c537e6d5f13d630eb858d
treec03f1e79a75f32b50edf49b14b6c4677e0eb4348
parentc9eac38a25b53085f18a831eb28c27512982cc5f
patman: Fix doctest StringIO import for python 3.x

In python 3.x StringIO is no longer a module, and the class can instead
be found in the io module. Adjust the code in the doctest input to
account for both.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Acked-by: Simon Glass <sjg@chromium.org>
tools/patman/settings.py