1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Update developing_modules.rst

Fix typo.
This commit is contained in:
Jens Carl 2015-07-03 17:10:00 -07:00
parent 4d35d8bd31
commit 3831f59094

View file

@ -484,7 +484,7 @@ Module checklist
* The return structure should be consistent, even if NA/None are used for keys normally returned under other options. * The return structure should be consistent, even if NA/None are used for keys normally returned under other options.
* Are module actions idempotent? If not document in the descriptions or the notes * Are module actions idempotent? If not document in the descriptions or the notes
* Import module snippets `from ansible.module_utils.basic import *` at the bottom, conserves line numbers for debugging. * Import module snippets `from ansible.module_utils.basic import *` at the bottom, conserves line numbers for debugging.
* Call your :func:`main` from a condtional so that it would be possible to * Call your :func:`main` from a conditional so that it would be possible to
test them in the future example:: test them in the future example::
if __name__ == '__main__': if __name__ == '__main__':