Use https instead of http for git.openstack.org

Trivialfix

Change-Id: I1c5e0a4b32e557b8c52d1a288ebe8b043f34214f
This commit is contained in:
gengchc2 2017-02-07 18:21:12 +08:00
parent d0ebc6c321
commit bbbaf8509b
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ release = '2.1.0'
# bug_tag: Tag for categorizing the bug. Must be set manually.
# bug_project: Launchpad project to file bugs against.
# These variables are passed to the logabug code via html_context.
giturl = (u"http://git.openstack.org/cgit/openstack/barbican/tree/"
giturl = (u"https://git.openstack.org/cgit/openstack/barbican/tree/"
"api-guide/source")
git_cmd = ["/usr/bin/git", "rev-parse", "HEAD"]
gitsha = subprocess.Popen(

View File

@ -74,7 +74,7 @@ release = '0.1'
# extracted from git log.
# bug_tag: Tag for categorizing the bug. Must be set manually.
# These variables are passed to the logabug code via html_context.
giturl = (u'http://git.openstack.org/cgit/openstack/barbican/'
giturl = (u'https://git.openstack.org/cgit/openstack/barbican/'
'tree/install-guide/source')
git_cmd = "/usr/bin/git log | head -n1 | cut -f2 -d' '"
gitsha = os.popen(git_cmd).read().strip('\n')