[bitbake-devel] [PATCH] bb.utils.which is intend to locate regular file only as it is written in comment

Christopher Larson clarson at kergoth.com
Wed Jul 9 14:59:43 UTC 2014


On Wed, Jul 9, 2014 at 3:43 AM, Vitaliy Kharin <kvserr at gmail.com> wrote:

> Actually it would return true if path will be a symlink. I checked it.
> Also please look at
> https://docs.python.org/2/library/os.path.html#os.path.isfile
> "...This follows symbolic links, so both islink()
> <https://docs.python.org/2/library/os.path.html#os.path.islink> and
> isfile() <https://docs.python.org/2/library/os.path.html#os.path.isfile> can
> be true for the same path."
>

Ah, good, I stand corrected. Thanks for the clarification.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20140709/93628de9/attachment-0002.html>


More information about the bitbake-devel mailing list