Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use built-in shutil.which() instead of which(1) tool #20

Merged
merged 1 commit into from
Oct 26, 2022

Commits on Oct 26, 2022

  1. Use built-in shutil.which() instead of which(1) tool

    Use the built-in shutil.which() function that is available since Python
    3.3 instead of the external which(1) program.  The latter is not part
    of POSIX and may be missing entirely (Gentoo is activately working
    towards removing it)>
    
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    mgorny committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    5671152 View commit details
    Browse the repository at this point in the history