summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-06-20 08:27:35 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-06-20 08:27:39 +0200
commit3d58547c4ec0cfa40e01ba86b2cb71148c6a2be1 (patch)
treec18888bf875daaa837b478bb09e93f3c71689528 /doc
parent140951b159e15d7cec4acb56cf42fc8989cce89c (diff)
downloadptxdist-3d58547c4ec0cfa40e01ba86b2cb71148c6a2be1.tar.gz
ptxdist-3d58547c4ec0cfa40e01ba86b2cb71148c6a2be1.tar.xz
doc: clear variable to avoid warning
Without this, Sphinx v1.7.5 will produce the following warning: WARNING: the config value 'line' is set to a string with non-ASCII characters; this can lead to Unicode errors occurring. Please use Unicode strings, e.g. 'Content'. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/conf.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/conf.py b/doc/conf.py
index 083d3bbbd..4a47d8159 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -156,6 +156,8 @@ for line in fileinput.FileInput(files=filter(os.path.isfile, os.listdir(".")), i
except:
sys.stdout.write(line)
+line = None
+
if os.getenv("PTXDIST_VERBOSE","0") == "1":
for key, value in sorted(replace_dict.items()):
print("%s => '%s'" % (key, value))