def _get_metadata_prefix(self, prefix):
        """Convenience function to return metadataPrefix as CSW outputschema"""
        try:
            outputschema = self.metadata_formats[prefix]['namespace']
        except __HOLE__:
            outputschema = prefix
        return outputschema
dataset/ETHPy150Open geopython/pycsw/pycsw/oaipmh.py/OAIPMH._get_metadata_prefix