diff options
author | 2017-05-02 10:42:16 +0200 | |
---|---|---|
committer | 2017-05-02 11:27:17 +0200 | |
commit | 92ee99120a49fcdbad3adbda7c84b4d465aed335 (patch) | |
tree | c05b59bded97c7a70f68621d603404e17c8d5acd /tools/build_defs/hash | |
parent | 62453079f729cd6247262a964010701af931620f (diff) |
Make tools/build_defs/pkg/archive.py py3 compatible
Without this change, any build using python3 and involving this tool fails with:
Traceback (most recent call last):
File ".../bazel-out/host/bin/external/bazel_tools/tools/build_defs/pkg/build_tar.runfiles/__main__/../bazel_tools/tools/build_defs/pkg/build_tar.py", line 22, in <module>
from tools.build_defs.pkg import archive
File ".../bazel-out/host/bin/external/bazel_tools/tools/build_defs/pkg/build_tar.runfiles/bazel_tools/tools/build_defs/pkg/archive.py", line 17, in <module>
from StringIO import StringIO
ModuleNotFoundError: No module named 'StringIO'
Closes #2865.
PiperOrigin-RevId: 154808860
Diffstat (limited to 'tools/build_defs/hash')
0 files changed, 0 insertions, 0 deletions