environment/lib/python2.7/site-packages/IPython/zmq/ipkernel.py
def abort_request(self, stream, ident, parent):
        """abort a specifig msg by id"""
        msg_ids = parent['content'].get('msg_ids', None)
        if isinstance(msg_ids, basestring):
            msg_ids = [msg_ids]
        if not msg_ids:
            self.abort_queues()
        for mid in msg_ids:
            self.aborted.add(str(mid))

        content = dict(status='ok')
        reply_msg = self.session.send(stream, 'abort_reply', content=content,
                parent=parent, ident=ident)
        self.log.debug("%s", reply_msg)
def abort_request(self, stream, ident, parent):
        msg_ids = parent['content'].get('msg_ids', None)
        if isinstance(msg_ids, basestring):
            msg_ids = [msg_ids]
        if not msg_ids:
            self.abort_queues()
        for mid in msg_ids:
            self.aborted.add(str(mid))

        content = dict(status='ok')
        reply_msg = self.session.send(stream, 'abort_reply', content=content,
                parent=parent, ident=ident)
        self.log.debug("%s", reply_msg)
def abort_request ( self , stream , ident , parent ) : msg_ids = parent [ 'content' ] . get ( 'msg_ids' , None ) if isinstance ( msg_ids , basestring ) : msg_ids = [ msg_ids ] if not msg_ids : self . abort_queues ( ) for mid in msg_ids : self . aborted . add ( str ( mid ) ) content = dict ( status = 'ok' ) reply_msg = self . session . send ( stream , 'abort_reply' , content = content , parent = parent , ident = ident ) self . log . debug ( "%s" , reply_msg )
abort a specifig msg by id
abort a specifig msg by id