(core) Remaining Python 3 compatibility changes

Summary: Biggest change is turning everything to unicode

Test Plan: The tests

Reviewers: dsagal, paulfitz

Reviewed By: dsagal

Differential Revision: https://phab.getgrist.com/D2875
This commit is contained in:
Alex Hall
2021-06-24 14:23:33 +02:00
parent 1af99e9567
commit 305b133c59
30 changed files with 276 additions and 177 deletions

View File

@@ -116,7 +116,7 @@ def action_from_repr(doc_action):
try:
return decode_objects(action_type(*doc_action[1:]))
except TypeError as e:
raise TypeError("%s: %s" % (doc_action[0], e.message))
raise TypeError("%s: %s" % (doc_action[0], str(e)))
def convert_recursive_helper(converter, data):