From ed69c37962eb368710f417e40498104641781f60 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Sun, 18 Feb 2018 11:51:00 +0100 Subject: [PATCH] Fix unicode not define in doc with py3 Under Python 3.6 in Debian Sid, I couldn't build the sphinx doc, and this patch fixes it. It replaces unicode by six.text_type. Change-Id: I538f10ef297fb45cb82e47f5bcb86ed214a062b0 --- doc/ext/support_matrix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ext/support_matrix.py b/doc/ext/support_matrix.py index 6c3d0fe3a..b3e08076b 100644 --- a/doc/ext/support_matrix.py +++ b/doc/ext/support_matrix.py @@ -80,7 +80,7 @@ class SupportMatrixBackend(object): class SupportMatrixDirective(rst.Directive): option_spec = { - 'support-matrix': unicode, + 'support-matrix': six.text_type, } def run(self):