diff options
author | Simon Glass <sjg@chromium.org> | 2020-04-17 18:08:55 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-04-26 14:25:21 -0600 |
commit | c3a13cc3331846a900f0bf6d003357d5c6b7dbe3 (patch) | |
tree | 071f9cae17aa7fb12e899a01675864ba921aa467 /tools/patman/func_test.py | |
parent | 83a45187715e719bfe520b9ca0373bd8b5bee8aa (diff) |
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>
Diffstat (limited to 'tools/patman/func_test.py')
-rw-r--r-- | tools/patman/func_test.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/patman/func_test.py b/tools/patman/func_test.py index 76319fff37..748e225446 100644 --- a/tools/patman/func_test.py +++ b/tools/patman/func_test.py @@ -12,10 +12,7 @@ import sys import tempfile import unittest -try: - from StringIO import StringIO -except ImportError: - from io import StringIO +from io import StringIO import gitutil import patchstream |