1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-11-01 10:56:02 +01:00

patman: Drop Python 2 StringIO code

We can rely on Python 3 now, so drop the workaround for importing
StringIO.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2020-04-17 18:08:55 -06:00
parent 83a4518771
commit c3a13cc333
3 changed files with 3 additions and 12 deletions

View File

@@ -10,10 +10,7 @@ import sys
import command
try:
from StringIO import StringIO
except ImportError:
from io import StringIO
from io import StringIO
PYTHON = 'python%d' % sys.version_info[0]