#NEWLINE# def dropbox_change_watcher( file_path , seconds_to_sleep = 2 ) : #NEWLINE# #INDENT# original_revision = dropbox_client . metadata ( file_path ) [ 'revision' ] #NEWLINE# while True : #NEWLINE# #INDENT# metadata = dropbox_client . metadata ( file_path ) #NEWLINE# if ( metadata [ 'revision' ] == original_revision ) : #NEWLINE# #INDENT# time . sleep ( seconds_to_sleep ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return metadata