#NEWLINE# def _postamble( self ) : #NEWLINE# #INDENT# if ( not self . response ) : #NEWLINE# #INDENT# logger . error ( 'Response was not correctly signed' ) #NEWLINE# if self . xmlstr : #NEWLINE# #INDENT# logger . info ( exc . xmlstr ) #NEWLINE# #UNINDENT# raise IncorrectlySigned ( ) #NEWLINE# #UNINDENT# logger . debug ( ( 'response: %s' % ( self . response , ) ) ) #NEWLINE# try : #NEWLINE# #INDENT# valid_instance ( self . response ) #NEWLINE# #UNINDENT# except NotValid as exc : #NEWLINE# #INDENT# logger . error ( ( 'Not valid response: %s' % exc . args [ 0 ] ) ) #NEWLINE# self . _clear ( ) #NEWLINE# return self #NEWLINE# #UNINDENT# self . in_response_to = self . response . in_response_to #NEWLINE# return self