summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-17 03:03:25 +0000
committerGerrit Code Review <review@openstack.org>2017-06-17 03:03:25 +0000
commit764135fc480da2750e40c8ba66931c33156e9e9e (patch)
treeae395dcdbdc468e09026f2df2d92abdfb8b306f8
parent0bd0bd5a4baa62c485eadce758c23828a640ccfa (diff)
parenta875b36dc007e91075ec08c18128ea5fa050da6f (diff)
Merge "Fix html_last_updated_fmt for Python3"
-rw-r--r--doc/source/conf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index d3c0a57..56ecfad 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -90,7 +90,7 @@ if not on_rtd:
90git_cmd = ["git", "log", "--pretty=format:'%ad, commit %h'", "--date=local", 90git_cmd = ["git", "log", "--pretty=format:'%ad, commit %h'", "--date=local",
91 "-n1"] 91 "-n1"]
92try: 92try:
93 html_last_updated_fmt = subprocess.check_output(git_cmd) 93 html_last_updated_fmt = subprocess.check_output(git_cmd).decode('utf-8')
94except OSError: 94except OSError:
95 warnings.warn('Cannot get last updated time from git repository. ' 95 warnings.warn('Cannot get last updated time from git repository. '
96 'Not setting "html_last_updated_fmt".') 96 'Not setting "html_last_updated_fmt".')