Skip to content
Snippets Groups Projects
Commit 7a5d936b authored by Alex Bennée's avatar Alex Bennée
Browse files

docker: docker.py wrap StringIO import for python3


Although the docker.py is nominally python2 we actually invoke it with
the configured python from the configure script.

Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
parent 46012db6
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,10 @@
import re
import signal
from tarfile import TarFile, TarInfo
from StringIO import StringIO
try:
from StringIO import StringIO
except ImportError:
from io import StringIO
from shutil import copy, rmtree
from pwd import getpwuid
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment