#NEWLINE# def _get_metadata_prefix( self , prefix ) : #NEWLINE# #INDENT# 'Convenience function to return metadataPrefix as CSW outputschema' #NEWLINE# try : #NEWLINE# #INDENT# outputschema = self . metadata_formats [ prefix ] [ 'namespace' ] #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# outputschema = self #NEWLINE# #UNINDENT# return outputschema