One line configure change for message on wrong bazel version.

PiperOrigin-RevId: 223820935
This commit is contained in:
Mihai Maruseac 2018-12-03 10:41:16 -08:00 committed by TensorFlower Gardener
parent 556e5ca311
commit 3360c72f32

View File

@ -491,7 +491,7 @@ def check_bazel_version(min_version, max_version):
sys.exit(0)
if curr_version_int > max_version_int:
print('Please downgrade your bazel installation to version %s or lower to '
'build TensorFlow!' % min_version)
'build TensorFlow!' % max_version)
sys.exit(0)
return curr_version