#NEWLINE# def get_status_code( self , response ) : #NEWLINE# #INDENT# '\n        Returns the integer status code from the response, which\n        can be either a Webob.Response (used in testing) or httplib.Response\n        ' #NEWLINE# if hasattr ( response , 'status_int' ) : #NEWLINE# #INDENT# return response . status_int #NEWLINE# #UNINDENT# return response . status