

def side_effect(old_cmd, command):
    with tarfile.TarFile(_tar_file(old_cmd.script_parts)[0]) as archive:
        for file in archive.getnames():
            try:
                os.remove(archive)
            except OSError:
                pass

dataset/ETHPy150Open nvbn/thefuck/thefuck/rules/dirty_untar.py side_effect/VarMisuse@51/66 `file`->`archive`