decode subprocess output so doc build works on python3
Change-Id: I26e10f62710c32c7cfb8dd30544b34dfe244f3b2 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
71110708c5
commit
a08ec74803
@ -62,7 +62,7 @@ git_cmd = ["git", "log", "--pretty=format:'%ad, commit %h'", "--date=local",
|
||||
"-n1"]
|
||||
try:
|
||||
html_last_updated_fmt = subprocess.Popen(
|
||||
git_cmd, stdout=subprocess.PIPE).communicate()[0]
|
||||
git_cmd, stdout=subprocess.PIPE).communicate()[0].decode('utf-8')
|
||||
except Exception:
|
||||
warnings.warn('Cannot get last updated time from git repository. '
|
||||
'Not setting "html_last_updated_fmt".')
|
||||
|
Loading…
x
Reference in New Issue
Block a user