From 0ce88afad332401a0c0ebbef462ed636deb43887 Mon Sep 17 00:00:00 2001 From: Gus Class Date: Mon, 19 Jun 2017 11:15:29 -0700 Subject: [PATCH] Places format calls inside print function calls. [(#995)](https://github.com/GoogleCloudPlatform/python-docs-samples/issues/995) --- .../samples/analyze/analyze.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/google-cloud-videointelligence/samples/analyze/analyze.py b/packages/google-cloud-videointelligence/samples/analyze/analyze.py index 22fafaf912ae..c85f9d78a280 100644 --- a/packages/google-cloud-videointelligence/samples/analyze/analyze.py +++ b/packages/google-cloud-videointelligence/samples/analyze/analyze.py @@ -61,12 +61,12 @@ def analyze_safe_search(path): "Likely", "Very likely") for note in safe_annotations: - print('Time: {}s').format(note.time_offset / 1000000.0) - print('\tadult: {}').format(likely_string[note.adult]) - print('\tspoof: {}').format(likely_string[note.spoof]) - print('\tmedical: {}').format(likely_string[note.medical]) - print('\tracy: {}').format(likely_string[note.racy]) - print('\tviolent: {}\n').format(likely_string[note.violent]) + print('Time: {}s'.format(note.time_offset / 1000000.0)) + print('\tadult: {}'.format(likely_string[note.adult])) + print('\tspoof: {}'.format(likely_string[note.spoof])) + print('\tmedical: {}'.format(likely_string[note.medical])) + print('\tracy: {}'.format(likely_string[note.racy])) + print('\tviolent: {}\n'.format(likely_string[note.violent])) def analyze_faces(path):