Fix docs build failure with sphinx 1.5 and python3

Change-Id: I439561ba681591f5f683aed2f4c2718260746c7c
Closes-Bug: #1673720
This commit is contained in:
Daniel Gonzalez 2017-04-26 09:44:59 +02:00
parent c9b203b397
commit eca7d49c85

View File

@ -139,8 +139,7 @@ html_static_path = ['_static']
#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.