def __init__(self, sh_run):
self.sh_run = sh_run.split('\n')
self.push_back = None
self.index = 0
self.cache_misses = []
self.saved_cli_lines = []
try:
self.cache = pickle.load(open(CACHE_PATH, 'rb'))
print('LOADED {} items from the MAP CACHE'.format(len(self.cache)))
except Exception:
self.cache = {}
评论列表
文章目录