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
changes/72/545672/1
Thomas Goirand 5 years ago
parent a7f8cea53c
commit ed69c37962

@ -80,7 +80,7 @@ class SupportMatrixBackend(object):
class SupportMatrixDirective(rst.Directive):
option_spec = {
'support-matrix': unicode,
'support-matrix': six.text_type,
}
def run(self):

Loading…
Cancel
Save