Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/o/p/openquake-packages-HEAD/pika-0.9.5/pika/frame.py   openquake-packages(Download)
        # If we don't have FrameMethod something is wrong so throw an exception
        if not isinstance(frame, Method):
            raise exceptions.UnexpectedFrameError(frame)
 
        # If the frame is a content related frame go deal with the content
        def handler(header_frame):
            # Make sure it's a header frame
            if not isinstance(header_frame, Header):
                raise exceptions.UnexpectedFrameError(header_frame)
 
        def handler(body_frame):
            # Make sure it's a body frame
            if not isinstance(body_frame, Body):
                raise exceptions.UnexpectedFrameError(body_frame)
 

src/c/a/captain-HEAD/vendor/lib/python/pika/channel.py   captain(Download)
            return self._handle_body_frame(frame_value)
        else:
            raise exceptions.UnexpectedFrameError(frame_value)
 
    def _finish(self):

src/p/i/pika-0.9.13/pika/channel.py   pika(Download)
            return self._handle_body_frame(frame_value)
        else:
            raise exceptions.UnexpectedFrameError(frame_value)
 
    def _finish(self):

src/p/i/pika-HEAD/pika/channel.py   pika(Download)
            return self._handle_body_frame(frame_value)
        else:
            raise exceptions.UnexpectedFrameError(frame_value)
 
    def _finish(self):