diff --git a/ci_scripts/generate_xrefmap.py b/ci_scripts/generate_xrefmap.py index 3f23198df57f..6daa82123655 100644 --- a/ci_scripts/generate_xrefmap.py +++ b/ci_scripts/generate_xrefmap.py @@ -6,8 +6,8 @@ from sphinx.ext.intersphinx import read_inventory EXTERNAL_LINKS = ['https://docs.python.org/3.5/', - 'http://msrestazure.readthedocs.io/en/latest/', - 'http://msrest.readthedocs.io/en/latest/'] + 'https://msrestazure.readthedocs.io/en/latest/', + 'https://msrest.readthedocs.io/en/latest/'] xref_map = [] for external_Link in EXTERNAL_LINKS: diff --git a/ci_scripts/postprocess_toc_yml.py b/ci_scripts/postprocess_toc_yml.py index cda06d31f5fb..580c2d77f579 100644 --- a/ci_scripts/postprocess_toc_yml.py +++ b/ci_scripts/postprocess_toc_yml.py @@ -21,7 +21,7 @@ def rewrite_yml(data): with open("toc.yml", 'r') as stream: try: - data_loaded = yaml.load(stream) + data_loaded = yaml.safe_load(stream) for node in data_loaded: if 'name' in node: if node['name'].startswith('azure.') and node['name'] not in skipped_level2_packages: