From 1d1667d77548e73b746b403cbb90a52acd76f1af Mon Sep 17 00:00:00 2001 From: Vincent Ricard Date: Thu, 7 Jan 2021 09:54:52 +0000 Subject: [PATCH] Bug 1684953 [wpt PR 27037] - Port format_json.py to Python 3, a=testonly Automatic update from web-platform-tests Port format_json.py to Python 3 (#27037) This fixes a WPT lint error with Python 3 -- wpt-commits: e0ad10ba0000c8c8a0c8a7c36256694eaf4563d4 wpt-pr: 27037 --- .../tests/import-maps/data-driven/tools/format_json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/web-platform/tests/import-maps/data-driven/tools/format_json.py b/testing/web-platform/tests/import-maps/data-driven/tools/format_json.py index 1059ac793aaf..6386d418de11 100644 --- a/testing/web-platform/tests/import-maps/data-driven/tools/format_json.py +++ b/testing/web-platform/tests/import-maps/data-driven/tools/format_json.py @@ -12,7 +12,7 @@ $ python tools/format_json.py resources/*.json def main(): for filename in sys.argv[1:]: - print filename + print(filename) try: spec = json.load( open(filename, u'r'), object_pairs_hook=collections.OrderedDict)