def get_buf_by_path(self, path):
        try:
            p = utils.to_rel_path(path)
        except __HOLE__:
            return
        buf_id = self.paths_to_ids.get(p)
        if buf_id:
            return self.bufs.get(buf_id)
dataset/ETHPy150Open Floobits/floobits-sublime/floo/common/handlers/floo_handler.py/FlooHandler.get_buf_by_path