Merge "Fix doc generation for python 3"

This commit is contained in:
Jenkins 2017-04-18 05:57:46 +00:00 committed by Gerrit Code Review
commit 2557016f0d
1 changed files with 2 additions and 2 deletions

View File

@ -158,8 +158,8 @@ pygments_style = 'sphinx'
# html_last_updated_fmt = '%b %d, %Y'
git_cmd = ["git", "log", "--pretty=format:'%ad, commit %h'", "--date=local",
"-n1"]
html_last_updated_fmt = subprocess.Popen(
git_cmd, stdout=subprocess.PIPE).communicate()[0]
html_last_updated_fmt = subprocess.check_output(
git_cmd).decode('utf-8')
# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.