Trivial: clean-up doc/source/conf.py
This patch make more concise python construct in conf.py. Change-Id: I54b90c1dee42a566447b2a95034f154072ef698d
This commit is contained in:
parent
f28e3cb799
commit
16a00f5e30
@ -133,8 +133,7 @@ html_static_path = ['_static']
|
||||
# using the given strftime format.
|
||||
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].decode('utf-8')
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user