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
This commit is contained in:
parent
a7f8cea53c
commit
ed69c37962
|
@ -80,7 +80,7 @@ class SupportMatrixBackend(object):
|
||||||
class SupportMatrixDirective(rst.Directive):
|
class SupportMatrixDirective(rst.Directive):
|
||||||
|
|
||||||
option_spec = {
|
option_spec = {
|
||||||
'support-matrix': unicode,
|
'support-matrix': six.text_type,
|
||||||
}
|
}
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
|
|
Loading…
Reference in New Issue