#NEWLINE# def register( self , response ) : #NEWLINE# #INDENT# self . expected . clear ( ) #NEWLINE# self . parse_response ( response ) #NEWLINE# for ( event , check ) in self . expected . items ( ) : #NEWLINE# #INDENT# self . task_manager . event . reg_event_handler ( check , self . on_event )