diff options
author | Fabio Alessandro Locati <me@fale.io> | 2016-12-05 18:00:18 +0000 |
---|---|---|
committer | Ryan Brown <sb@ryansb.com> | 2016-12-05 13:00:18 -0500 |
commit | 454844931508c20bea270b694f67663586715728 (patch) | |
tree | 2bc766b53ac77a07352a9d6e23d97d973d5bf312 /packaging/os/rhn_channel.py | |
parent | 4659c084de73db337f11e08b8b78153380e13a76 (diff) | |
download | ansible-modules-core-454844931508c20bea270b694f67663586715728.tar.gz |
Call main in conditional way - packaging (#5826)
Diffstat (limited to 'packaging/os/rhn_channel.py')
-rw-r--r-- | packaging/os/rhn_channel.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/os/rhn_channel.py b/packaging/os/rhn_channel.py index 7a7735b8..e77972b3 100644 --- a/packaging/os/rhn_channel.py +++ b/packaging/os/rhn_channel.py @@ -171,5 +171,6 @@ def main(): # import module snippets from ansible.module_utils.basic import * -main() +if __name__ == '__main__': + main() |