#NEWLINE# def main( ) : #NEWLINE# #INDENT# for f in os . listdir ( os . path . abspath ( os . path . dirname ( __file__ ) ) ) : #NEWLINE# #INDENT# ( path , ext ) = os . path . splitext ( f ) #NEWLINE# if ( ext == '.json' ) : #NEWLINE# #INDENT# with open ( f ) as g : #NEWLINE# #INDENT# contents = g . read ( ) #NEWLINE# #UNINDENT# contents = twilio_clean ( contents ) #NEWLINE# with open ( f , 'w' ) as g : #NEWLINE# #INDENT# g . write ( contents . strip ( ) ) #NEWLINE# g . write ( '\n' )