def get_finished_ids(path):
    l = sorted([int(re.findall("([0-9]*)-results.json", p)[0])
               for p in glob.glob(os.path.join(path, "*-results.json"))])
    return l
Gets an attribute of this fake module from its attrs.
dataset/ETHPy150Open rlpy/rlpy/rlpy/Tools/run.py/get_finished_ids--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/python/test/test_dist.py/FakeModule.__getattr__