#NEWLINE# def withdraw_watchdog( self , watchdog ) : #NEWLINE# #INDENT# if ( watchdog in self . _watchdog ) : #NEWLINE# #INDENT# for change in self . _watchdog [ watchdog ] . get ( '+' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) . values ( ) : #NEWLINE# #INDENT# change . nlri . action = OUT . WITHDRAW #NEWLINE# self . insert_announced ( change ) #NEWLINE# self . _watchdog [ watchdog ] . setdefault ( '-' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) [ change . index ( ) ] = change #NEWLINE# self . _watchdog [ watchdog ] [ '+' ] . pop ( change . index ( ) )