#NEWLINE# def run_image_to_relative_xyi_repeatedly( ) : #NEWLINE# #INDENT# level = logging . ERROR #NEWLINE# ch = logging . StreamHandler ( ) #NEWLINE# ch . setLevel ( level ) #NEWLINE# logger . addHandler ( ch ) #NEWLINE# logger . setLevel ( level ) #NEWLINE# num_calls = 0 #NEWLINE# while True : #NEWLINE# #INDENT# test_img_to_relative_xyi ( ) #NEWLINE# num_calls += 1 #NEWLINE# if ( ( level % 10 ) == 0 ) : #NEWLINE# #INDENT# print ( '{0} calls successful' . format ( num_calls ) )