Use https instead of http for git.openstack.org

TrivialFix

Change-Id: I37f4a7faca6213aacd0afa3194c1ebf8067e9d7c
This commit is contained in:
gecong1973 2017-02-07 10:46:03 +08:00
parent 62ee003ab5
commit 2c387983f5
2 changed files with 2 additions and 2 deletions
doc
training-guides/source/website
upstream-training/source/website

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

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