Skip to content

Commit

Permalink
Places format calls inside print function calls. [(#995)](GoogleCloud…
Browse files Browse the repository at this point in the history
  • Loading branch information
gguuss authored and Jon Wayne Parrott committed Jun 19, 2017
1 parent f06e5b8 commit f426666
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions samples/analyze/analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit f426666

Please sign in to comment.