[OE-core] [PATCH v2 1/1] package.bbclass: Remove unused variables and imports
Burton, Ross
ross.burton at intel.com
Mon Oct 31 17:04:52 UTC 2016
On 26 October 2016 at 18:39, Ulf Magnusson <ulfalizer at gmail.com> wrote:
> # Skip it if the target doesn't exist
> try:
> - s = os.stat(fpath)
> + os.stat(fpath)
> except OSError as e:
> (err, strerror) = e.args
> if err != errno.ENOENT:
>
Urgh, why not just use os.path.lexists()... Can you change the code to do
that?
Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20161031/d91b864d/attachment-0002.html>
More information about the Openembedded-core
mailing list