Skip to content

Commit

Permalink
docker: docker.py wrap StringIO import for python3
Browse files Browse the repository at this point in the history
Although the docker.py is nominally python2 we actually invoke it with
the configured python from the configure script.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
  • Loading branch information
stsquad committed Jun 20, 2018
1 parent 46012db commit 7a5d936
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/docker/docker.py
Expand Up @@ -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

Expand Down

0 comments on commit 7a5d936

Please sign in to comment.