From 2c387983f5d0a050f8ffb614ff6c6077ba35bd0f Mon Sep 17 00:00:00 2001 From: gecong1973 Date: Tue, 7 Feb 2017 10:46:03 +0800 Subject: [PATCH] Use https instead of http for git.openstack.org TrivialFix Change-Id: I37f4a7faca6213aacd0afa3194c1ebf8067e9d7c --- doc/training-guides/source/website/conf.py | 2 +- doc/upstream-training/source/website/conf.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/training-guides/source/website/conf.py b/doc/training-guides/source/website/conf.py index 2cd26302..d8a5f895 100644 --- a/doc/training-guides/source/website/conf.py +++ b/doc/training-guides/source/website/conf.py @@ -66,7 +66,7 @@ release = '0.0.1' # bug_tag: Tag for categorizing the bug. Must be set manually. # bug_project: Project to file bugs against. # These variables are passed to the logabug code via html_context. -giturl = u'http://git.openstack.org/cgit/openstack/training-guides/tree/doc/training-guides/' +giturl = u'https://git.openstack.org/cgit/openstack/training-guides/tree/doc/training-guides/' git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '" gitsha = os.popen(git_cmd).read().strip('\n') html_context = {"gitsha": gitsha, "bug_tag": bug_tag, diff --git a/doc/upstream-training/source/website/conf.py b/doc/upstream-training/source/website/conf.py index c03aed05..17f0fd67 100644 --- a/doc/upstream-training/source/website/conf.py +++ b/doc/upstream-training/source/website/conf.py @@ -66,7 +66,7 @@ release = '2016.2' # bug_tag: Tag for categorizing the bug. Must be set manually. # bug_project: Project to file bugs against. # These variables are passed to the logabug code via html_context. -giturl = u'http://git.openstack.org/cgit/openstack/training-guides/tree/doc/upstream-training/' +giturl = u'https://git.openstack.org/cgit/openstack/training-guides/tree/doc/upstream-training/' git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '" gitsha = os.popen(git_cmd).read().strip('\n') html_context = {"gitsha": gitsha, "bug_tag": bug_tag,