#NEWLINE# def _get_response( self , req ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return request . urlopen ( req ) #NEWLINE# #UNINDENT# except error . HTTPError as ex : #NEWLINE# #INDENT# if ( self . code == 404 ) : #NEWLINE# #INDENT# raise base . NotExistingMetadataException ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise