Skip to content

make glob pattern for cleaning up temporary cocci files more specific #8

Description

@aishpant

Right now for cleaning up temporary generated files, abi2doc uses:

def remove_temp_files():
    for p in Path("/tmp/").glob("*.cocci"):
        p.unlink()

This clean-up should be more specfic, It should look for /tmp/batch_task_*.cocci and /tmp/out.batch_task_*.cocci instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions