aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/interop_matrix
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2018-05-31 11:45:44 +0200
committerGravatar Jan Tattermusch <jtattermusch@google.com>2018-05-31 11:45:44 +0200
commitf1f456baf50330612fcc160394b2ccddb4fb7411 (patch)
tree8558a4f5a1c76c89c7ff0edc6103035c2235d2b1 /tools/interop_matrix
parent87f395c04d41e0ac1459745dc0a950c84033207c (diff)
yapf code
Diffstat (limited to 'tools/interop_matrix')
-rwxr-xr-xtools/interop_matrix/create_matrix_images.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/interop_matrix/create_matrix_images.py b/tools/interop_matrix/create_matrix_images.py
index 24fd0e2ea4..c2568efba0 100755
--- a/tools/interop_matrix/create_matrix_images.py
+++ b/tools/interop_matrix/create_matrix_images.py
@@ -100,7 +100,8 @@ argp.add_argument(
argp.add_argument(
'--upload_images',
action='store_true',
- help='If set, images will be uploaded to container registry after building.')
+ help='If set, images will be uploaded to container registry after building.'
+)
args = argp.parse_args()
@@ -171,7 +172,8 @@ def build_all_images_for_lang(lang):
"""Build all docker images for a language across releases and runtimes."""
if not args.git_checkout:
if args.release != 'master':
- print('Cannot use --release without also enabling --git_checkout.\n')
+ print(
+ 'Cannot use --release without also enabling --git_checkout.\n')
sys.exit(1)
releases = [args.release]
else:
@@ -354,5 +356,5 @@ for lang in languages:
subprocess.call(['gcloud', 'docker', '--', 'push', image])
else:
# Uploading (and overwriting images) by default can easily break things.
- print('Not uploading image %s, run with --upload_images to upload.' % image)
-
+ print('Not uploading image %s, run with --upload_images to upload.'
+ % image)