diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2022-11-02 21:18:00 +0200 | 
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-24 15:30:06 +0000 | 
| commit | 1cdb6d447c662a255d1cb5ad0321652f4d95f7ec (patch) | |
| tree | afa9a8dd1ca2b314e5fdf5e35a54a987431444b5 /scripts/lib/build_perf/report.py | |
| parent | a86656290b7a2ef7165e6602f15068edeeafed7d (diff) | |
| download | poky-1cdb6d447c662a255d1cb5ad0321652f4d95f7ec.tar.gz | |
get_module_deps3.py: Check attribute '__file__'
Check if the module object has attribute '__file__' to fix and
avoid errors like:
AttributeError: module '_abc' has no attribute '__file__'. Did you mean: '__name__'?
(From OE-Core rev: ede7452e6dcb202952b85b76eecbd2e1760b11e9)
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 8acce12c1a4cf37ac312c92d62a6ae93a349dddf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/build_perf/report.py')
0 files changed, 0 insertions, 0 deletions
