def get(cls, format):
        """
        Gets an emitter, returns the class and a content-type.
        """
        if cls.EMITTERS.has_key(format):
            return cls.EMITTERS.get(format)

        raise ValueError("No emitters found for type %s" % format)
def get ( cls , format ) : if cls . EMITTERS . has_key ( format ) : return cls . EMITTERS . get ( format ) raise ValueError ( "No emitters found for type %s" % format )
Gets an emitter, returns the class and a content-type.