def cleanup_temp_files(turret, files):
    for f in files:
        try:
            os.remove(f)
        except __HOLE__ as e:
            print("Error while packagin turret %s" % turret['name'])
            print("Error: %s" % e)
dataset/ETHPy150Open TheGhouls/oct/oct/utilities/pack.py/cleanup_temp_files