diff options
author | Ross Burton <ross.burton@arm.com> | 2025-04-02 18:02:33 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-04-03 11:06:20 +0100 |
commit | cb7e73b358328e967b10e1015a26de4b1f5a573c (patch) | |
tree | d5cfe802a44b24ebdc43a51dcf9ee7d55d83cbd7 /meta/lib/oe/sdk.py | |
parent | 9a5705e95bbee0e103ba9395618bfeeba2c28d51 (diff) | |
download | poky-cb7e73b358328e967b10e1015a26de4b1f5a573c.tar.gz |
lib/oe: remove redundant __name__ == "__main__" checks
There's no point in checking if __name__ == "__main__" (i.e., is this
module being invoked) and then doing nothing.
(From OE-Core rev: 020b6b1411c9fd3adb208808c0d56623190873f8)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/sdk.py')
-rw-r--r-- | meta/lib/oe/sdk.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/meta/lib/oe/sdk.py b/meta/lib/oe/sdk.py index 3dc3672210..11759aba48 100644 --- a/meta/lib/oe/sdk.py +++ b/meta/lib/oe/sdk.py | |||
@@ -155,6 +155,3 @@ def get_extra_sdkinfo(sstate_dir): | |||
155 | extra_info['tasksizes'][task] = origtotal + fsize | 155 | extra_info['tasksizes'][task] = origtotal + fsize |
156 | extra_info['filesizes'][fn] = fsize | 156 | extra_info['filesizes'][fn] = fsize |
157 | return extra_info | 157 | return extra_info |
158 | |||
159 | if __name__ == "__main__": | ||
160 | pass | ||