opnsense-ports/sysutils/py-shutilwhich/pkg-descr
Franco Fichtner 8c34d21606 */*: bring in previously unknown upstream stuff
Taken from: FreeBSD
2015-04-22 06:26:02 +02:00

8 lines
236 B
Text

A copy & paste backport of Python 3.3's shutil.which function.
Import like this: import shutilwhichh.
This will monkeypatch shutil if there is no shutil.which method, otherwise
leave it alone.
WWW: https://github.com/mbr/shutilwhich