mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
Fixes #6894 create docs fragment for files
This commit is contained in:
parent
899ba4c9bb
commit
68cd7258b6
2 changed files with 1 additions and 36 deletions
|
@ -82,7 +82,7 @@ def get_docstring(filename, verbose=False):
|
|||
raise Exception("missing options in fragment, possibly misformatted?")
|
||||
|
||||
for key, value in fragment.items():
|
||||
|
||||
open("/tmp/awx.log", "a").write("key: %s value: %s\n" % (key, value))
|
||||
if not doc.has_key(key):
|
||||
doc[key] = value
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue