]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
lib/oe: remove redundant __name__ == "__main__" checks
authorRoss Burton <ross.burton@arm.com>
Wed, 2 Apr 2025 17:02:33 +0000 (18:02 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 3 Apr 2025 10:05:48 +0000 (11:05 +0100)
commit020b6b1411c9fd3adb208808c0d56623190873f8
tree32fd40fd116a2abaeb55c28ee19575d55ca35682
parentc65180bb677d8dae1992445cd378119d8cbed424
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.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/manifest.py
meta/lib/oe/rootfs.py
meta/lib/oe/sdk.py