Fixes #6894 create docs fragment for files

This commit is contained in:
James Tanner 2014-04-08 13:20:15 -04:00
parent 899ba4c9bb
commit 68cd7258b6
2 changed files with 1 additions and 36 deletions

View file

@ -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: