Fix docs build failure with sphinx 1.5 and python3
Change-Id: I439561ba681591f5f683aed2f4c2718260746c7c Closes-Bug: #1673720
This commit is contained in:
@@ -139,8 +139,7 @@ html_static_path = ['_static']
|
|||||||
#html_last_updated_fmt = '%b %d, %Y'
|
#html_last_updated_fmt = '%b %d, %Y'
|
||||||
git_cmd = ["git", "log", "--pretty=format:'%ad, commit %h'", "--date=local",
|
git_cmd = ["git", "log", "--pretty=format:'%ad, commit %h'", "--date=local",
|
||||||
"-n1"]
|
"-n1"]
|
||||||
html_last_updated_fmt = subprocess.Popen(git_cmd,
|
html_last_updated_fmt = subprocess.check_output(git_cmd).decode('utf-8')
|
||||||
stdout=subprocess.PIPE).communicate()[0]
|
|
||||||
|
|
||||||
# If true, SmartyPants will be used to convert quotes and dashes to
|
# If true, SmartyPants will be used to convert quotes and dashes to
|
||||||
# typographically correct entities.
|
# typographically correct entities.
|
||||||
|
Reference in New Issue
Block a user