From bacd4fad3a086d52b6f15b5cda6c9a8cb8e86cb2 Mon Sep 17 00:00:00 2001 From: Jeff Scheel Date: Mon, 8 May 2017 15:49:58 -0500 Subject: [PATCH] Correct directory to relative value for opf_docbook.py Signed-off-by: Jeff Scheel --- rst_template/opf_docbook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rst_template/opf_docbook.py b/rst_template/opf_docbook.py index e6d2c9d..acecd3c 100644 --- a/rst_template/opf_docbook.py +++ b/rst_template/opf_docbook.py @@ -145,7 +145,7 @@ def build_revhistory(book_file): log_fields = ['id', 'author', 'date', 'subject'] # Retrieve log - pipe = Popen('git log --date=iso --format="%s" -- doc doc' % log_format, shell=True, stdout=PIPE) + pipe = Popen('git log --date=iso --format="%s" -- . .' % log_format, shell=True, stdout=PIPE) log, _ = pipe.communicate() log = log.replace('&','&').replace('<','<').replace('>','>').replace('\n','').strip('\x02').split('\x02') log = [row.split('\01') for row in log]