#NEWLINE# def build( ctx ) : #NEWLINE# #INDENT# builder = ctx . builders [ 'python_2to3' ] #NEWLINE# files = [ ] #NEWLINE# for ( r , ds , fs ) in os . walk ( 'foo' ) : #NEWLINE# #INDENT# files . extend ( [ os . path . join ( r , f ) for f in r ] ) #NEWLINE# #UNINDENT# builder . convert ( '' , files )