Commit 63c60735 authored by André Anjos's avatar André Anjos 💬

[scripts/ci] Better printing txt files

parent 3e3ae415
Pipeline #30425 failed with stages
in 6 minutes and 18 seconds
......@@ -724,13 +724,13 @@ def docs(ctx, requirement, dry_run):
extra_intersphinx = set([k.strip() for k in extra_intersphinx \
if not k.strip().startswith(group)])
logger.info('Contents of "doc/extra-intersphinx.txt":\n%s',
extra_intersphinx)
''.join(extra_intersphinx))
with open(os.path.join(doc_path, 'extra-intersphinx.txt'), 'w') as f:
f.writelines(extra_intersphinx)
# nitpick exceptions
logger.info('Contents of "doc/nitpick-exceptions.txt":\n%s',
nitpick)
''.join(nitpick))
with open(os.path.join(doc_path, "nitpick-exceptions.txt"), "w") as f:
f.writelines(set([k.strip() for k in nitpick]))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment