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

Docs: Fix the module formatter code that is intended to remove the 'historical' variable from showing up in version_added information (RST)

This commit is contained in:
Michael DeHaan 2013-11-27 21:14:38 -05:00
parent 52b2cfedfc
commit 51e6f411f2

View file

@ -366,8 +366,8 @@ def main():
if not 'version_added' in doc:
sys.stderr.write("*** ERROR: missing version_added in: %s ***\n" % module)
sys.exit(1)
if doc['version_added'] == 'historical':
del doc['version_added']
if doc['version_added'] == 'historical':
del doc['version_added']
for (k,v) in doc['options'].iteritems():
all_keys.append(k)