diff options
author | 2017-12-18 10:09:44 -0800 | |
---|---|---|
committer | 2017-12-18 10:11:52 -0800 | |
commit | 408ea37852ab0b85175d375042073b1891a26e24 (patch) | |
tree | 8315bed5c851244f7f7543eef0deb1cdf73ee19e /tools/objc | |
parent | 2040c60206bb1ea9c6f603f5ef1290227bffe36a (diff) |
Update tools/ modules for compatibility with python 3.
Fixes #4097.
Fixes part of #4310.
Closes #4265.
PiperOrigin-RevId: 179437184
Diffstat (limited to 'tools/objc')
-rw-r--r-- | tools/objc/protobuf_compiler.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/objc/protobuf_compiler.py b/tools/objc/protobuf_compiler.py index bd789b7ddd..bc99093a5e 100644 --- a/tools/objc/protobuf_compiler.py +++ b/tools/objc/protobuf_compiler.py @@ -15,8 +15,10 @@ """Dummy python executable.""" +from __future__ import print_function + import sys if __name__ == '__main__': - print 'Bazel does not yet support protobuf compiling.' + print('Bazel does not yet support protobuf compiling.') sys.exit(1) |