six.unichr() is equivalent to unichr() in Python 2
and chr() in Python 3.
Signed-off-by: Russell Bryant <[email protected]>
---
python/ovs/json.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/python/ovs/json.py b/python/ovs/json.py
index a59a0c2..db74397 100644
--- a/python/ovs/json.py
+++ b/python/ovs/json.py
@@ -408,7 +408,7 @@ class Parser(object):
inp = inp[6:]
else:
code_point = c0
- out += unichr(code_point)
+ out += six.unichr(code_point)
self.__parser_input('string', out)
def __lex_string_escape(self, c):
--
2.5.0
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev