Skip to content

Commit

Permalink
Bug 1684953 [wpt PR 27037] - Port format_json.py to Python 3, a=testonly
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ghostd authored and moz-wptsync-bot committed Jan 7, 2021
1 parent 7bd80bb commit 1d1667d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

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)
Expand Down

0 comments on commit 1d1667d

Please sign in to comment.