Merge pull request #37839 from euank/modern-python-print

Automatic merge from submit-queue

cluster: fix gcloud check for python3

cc @jlowdermilk as the author of the regressing commit.
This commit is contained in:
Kubernetes Submit Queue
2016-12-03 09:36:46 -08:00
committed by GitHub

View File

@@ -995,7 +995,7 @@ required = [ "alpha", "beta", "core" ]
data = json.loads(sys.argv[1])
rel = data.get("Google Cloud SDK")
if rel != "HEAD" and version.LooseVersion(rel) < minVersion:
print "gcloud version out of date ( < %s )" % minVersion
print("gcloud version out of date ( < %s )" % minVersion)
exit(1)
missing = []
for c in required: