#NEWLINE# def _clean_up_pxe( task ) : #NEWLINE# #INDENT# 'Clean up left over PXE and DHCP files.' #NEWLINE# pxe_info = _get_tftp_image_info ( task . node ) #NEWLINE# for label in pxe_info : #NEWLINE# #INDENT# path = pxe_info [ label ] [ 1 ] #NEWLINE# utils . unlink_without_raise ( path ) #NEWLINE# #UNINDENT# AgentTFTPImageCache ( ) . clean_up ( ) #NEWLINE# pxe_utils . clean_up_pxe_config ( task )