Skip to content
Commit 8c5be594 authored by Grant Likely's avatar Grant Likely
Browse files

Use __init__ == '__main__' pattern in script



Use the typical __init__ == '__main__' pattern to determine if the code
is being run as a script, and only execute the main code if true. This
makes the code more portable to other projects.

Signed-off-by: Grant Likely's avatarGrant Likely <grant.likely@arm.com>
parent 56bd3a68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment