diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-06-12 02:57:10 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-06-12 02:57:10 +0000 |
commit | 3068385273636391b3ea050a094fcd473c3ba064 (patch) | |
tree | be75fe293b620d3b66ad66017a744b5e027552a1 | |
parent | 0e9cfc947399178e73e13f2f417c83ec374e080b (diff) | |
parent | d565cf1a0b61e930bcbeb06cfdc07edfabf28676 (diff) | |
download | taskflow-3068385273636391b3ea050a094fcd473c3ba064.tar.gz |
Merge "Fix html_last_updated_fmt for Python3"
-rw-r--r-- | doc/source/conf.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py index c4e8864..98f84fb 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -75,8 +75,7 @@ htmlhelp_basename = '%sdoc' % project 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] + html_last_updated_fmt = subprocess.check_output(git_cmd).decode('utf-8') except Exception: warnings.warn('Cannot get last updated time from git repository. ' 'Not setting "html_last_updated_fmt".') |