#NEWLINE# def preprocess_script_lines( self , lines ) : #NEWLINE# #INDENT# i = 1 #NEWLINE# lines = lines [ : ] #NEWLINE# while ( i < len ( lines ) ) : #NEWLINE# #INDENT# if lines [ i ] [ : 1 ] . isspace ( ) : #NEWLINE# #INDENT# lines [ ( i - 1 ) ] += ( '\n' + lines [ i ] ) #NEWLINE# del lines [ i ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# i += 1 #NEWLINE# #UNINDENT# #UNINDENT# return lines