Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c373bc3

Browse filesBrowse files
gguussJon Wayne Parrott
authored andcommitted
Places format calls inside print function calls. (GoogleCloudPlatform#995)
1 parent 60bfae6 commit c373bc3
Copy full SHA for c373bc3

File tree

Expand file treeCollapse file tree

1 file changed

+6
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-6
lines changed

‎video/cloud-client/analyze/analyze.py

Copy file name to clipboardExpand all lines: video/cloud-client/analyze/analyze.py
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ def analyze_safe_search(path):
6161
"Likely", "Very likely")
6262

6363
for note in safe_annotations:
64-
print('Time: {}s').format(note.time_offset / 1000000.0)
65-
print('\tadult: {}').format(likely_string[note.adult])
66-
print('\tspoof: {}').format(likely_string[note.spoof])
67-
print('\tmedical: {}').format(likely_string[note.medical])
68-
print('\tracy: {}').format(likely_string[note.racy])
69-
print('\tviolent: {}\n').format(likely_string[note.violent])
64+
print('Time: {}s'.format(note.time_offset / 1000000.0))
65+
print('\tadult: {}'.format(likely_string[note.adult]))
66+
print('\tspoof: {}'.format(likely_string[note.spoof]))
67+
print('\tmedical: {}'.format(likely_string[note.medical]))
68+
print('\tracy: {}'.format(likely_string[note.racy]))
69+
print('\tviolent: {}\n'.format(likely_string[note.violent]))
7070

7171

7272
def analyze_faces(path):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.