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.
pull/6/head
Kubernetes Submit Queue 2016-12-03 09:36:46 -08:00 committed by GitHub
commit e15cd67247
1 changed files with 1 additions and 1 deletions

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: