summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-06 03:24:07 +0000
committerGerrit Code Review <review@openstack.org>2017-06-06 03:24:07 +0000
commit733dbf01866214acc9d122ba3b3b2e1cf809257e (patch)
treea3554503f44919612e9c71a87518fb42427dc527
parent4690b921e722afc9f3ece595d39123cfd5b057a7 (diff)
parent6a8f43d2b1cc4ae3fbf30d811ac16e703e1bc68d (diff)
Merge "Fix doc generation for Python3"4.0.0.0b2
-rw-r--r--doc/source/conf.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 56e669b..aa74204 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -164,8 +164,7 @@ html_static_path = ['_static']
164#html_last_updated_fmt = '%b %d, %Y' 164#html_last_updated_fmt = '%b %d, %Y'
165git_cmd = ["git", "log", "--pretty=format:'%ad, commit %h'", "--date=local", 165git_cmd = ["git", "log", "--pretty=format:'%ad, commit %h'", "--date=local",
166 "-n1"] 166 "-n1"]
167html_last_updated_fmt = subprocess.Popen( 167html_last_updated_fmt = subprocess.check_output(git_cmd).decode('utf-8')
168 git_cmd, stdout=subprocess.PIPE).communicate()[0]
169 168
170# If true, SmartyPants will be used to convert quotes and dashes to 169# If true, SmartyPants will be used to convert quotes and dashes to
171# typographically correct entities. 170# typographically correct entities.