Correct invalid git URL in LogABug config

Change-Id: I942338ce0811d12dcb83ec08853ad2a9b31f7af0
This commit is contained in:
pawnesh.kumar 2016-10-06 19:19:53 +05:30 committed by pawnesh kumar
parent 55f0daa4cc
commit f09a37e550
1 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ release = version_info.release_string()
version = version_info.version_string()
# Config logABug feature
giturl = u'http://git.openstack.org/cgit/openstack/heat/api-ref/source'
giturl = u'http://git.openstack.org/cgit/openstack/heat/tree/api-ref/source'
# source tree
# html_context allows us to pass arbitrary values into the html template
html_context = {'bug_tag': 'api-ref',
@ -161,7 +161,7 @@ pygments_style = 'sphinx'
# using the given strftime format.
# html_last_updated_fmt = '%b %d, %Y'
git_cmd = ["git", "log", "--pretty=format:'%ad, commit %h'", "--date=local",
"-n1"]
"-n1"]
try:
html_last_updated_fmt = subprocess.Popen(
git_cmd, stdout=subprocess.PIPE).communicate()[0]