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/manifest.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/manifest.py')
-rw-r--r-- | meta/lib/oe/manifest.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/lib/oe/manifest.py b/meta/lib/oe/manifest.py index 61f18adc4a..cf7a13c247 100644 --- a/meta/lib/oe/manifest.py +++ b/meta/lib/oe/manifest.py | |||
@@ -200,7 +200,3 @@ def create_manifest(d, final_manifest=False, manifest_dir=None, | |||
200 | manifest.create_final() | 200 | manifest.create_final() |
201 | else: | 201 | else: |
202 | manifest.create_initial() | 202 | manifest.create_initial() |
203 | |||
204 | |||
205 | if __name__ == "__main__": | ||
206 | pass | ||