mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	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:
		@@ -995,7 +995,7 @@ required = [ "alpha", "beta", "core" ]
 | 
				
			|||||||
data = json.loads(sys.argv[1])
 | 
					data = json.loads(sys.argv[1])
 | 
				
			||||||
rel = data.get("Google Cloud SDK")
 | 
					rel = data.get("Google Cloud SDK")
 | 
				
			||||||
if rel != "HEAD" and version.LooseVersion(rel) < minVersion:
 | 
					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)
 | 
					  exit(1)
 | 
				
			||||||
missing = []
 | 
					missing = []
 | 
				
			||||||
for c in required:
 | 
					for c in required:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user