#NEWLINE# def manage_logs( self ) : #NEWLINE# #INDENT# if ( not self . creating ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# ( name , filename ) = self . creating [ ( - 1 ) ] #NEWLINE# if path . isfile ( filename ) : #NEWLINE# #INDENT# fd = open ( filename ) #NEWLINE# self . watched . append ( [ name , fd ] ) #NEWLINE# self . creating . pop ( )