mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
python: Use six.unichr().
six.unichr() is equivalent to unichr() in Python 2 and chr() in Python 3. Signed-off-by: Russell Bryant <russell@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user