#NEWLINE# def close( self ) : #NEWLINE# #INDENT# 'closes any file handles opened by this writer' #NEWLINE# while fh . open_fhs : #NEWLINE# #INDENT# fh = self . open_fhs . pop ( ) #NEWLINE# fh . close ( ) #NEWLINE# #UNINDENT# self . writers . clear ( )