def src_to_dst(self, src_uri):
        """Map source URI to destination path."""
        for map in self.mappings:
            dst_path = map.src_to_dst(src_uri)
            if (dst_path is not None):
                return(dst_path)
        # Must have failed if loop exited
        raise MapperError(
            "Unable to translate source URI (%s) into "
            "a destination path." % (src_uri))
def src_to_dst ( self , src_uri ) : for map in self . mappings : dst_path = map . src_to_dst ( src_uri ) if ( dst_path is not None ) : return ( dst_path ) raise MapperError ( "Unable to translate source URI (%s) into " "a destination path." % ( src_uri ) )
Map source URI to destination path.