#NEWLINE# def resolve_context( self , context , request , response ) : #NEWLINE# #INDENT# if response . exception : #NEWLINE# #INDENT# context [ 'status_code' ] = response . status_code #NEWLINE# #UNINDENT# return RequestContext ( request . _request , context )