The .pyc files usually contain build path like:
i586-poky-linux-gcc -m32 -march=i586 --sysroot=/buildarea/lyang1/test_p/tmp/sysroots/qemux86
And:
_PYTHON_PROJECT_BASE=/buildarea/lyang1/test_p/tmp/work/i586-poky-linux/python/2.7.9-r1/build
They are safe, so ignore them.
This can reduce 1065 QA issues for buildpaths in a world build.
[YOCTO #8446]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
if path.find(".debug") != -1:
return
+ # Ignore .pyc files, not interesting
+ if path.endswith(".pyc"):
+ return
+
# Ignore symlinks
if os.path.islink(path):
return