mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Simple Python 3 compatibility changes
Summary: Changes that move towards python 3 compatibility that are easy to review without much thought Test Plan: The tests Reviewers: dsagal Reviewed By: dsagal Differential Revision: https://phab.getgrist.com/D2873
This commit is contained in:
@@ -3,6 +3,8 @@ import math
|
||||
import os
|
||||
import re
|
||||
|
||||
import six
|
||||
|
||||
import actions
|
||||
import logger
|
||||
|
||||
@@ -103,7 +105,7 @@ def parse_test_sample(obj, samples={}):
|
||||
}
|
||||
|
||||
data = {t: table_data_from_rows(t, data[0], data[1:])
|
||||
for t, data in obj["DATA"].iteritems()}
|
||||
for t, data in six.iteritems(obj["DATA"])}
|
||||
return {"SCHEMA": schema, "DATA": data}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user