Skip to content

Commit

Permalink
Stop using deprecated meta_key API.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdm committed Mar 20, 2019
1 parent 33f5066 commit cc7e210
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/wpt/manifestupdate.py
Expand Up @@ -109,8 +109,9 @@ def diff_manifests(logger, manifest_path, old_manifest, new_manifest):
for test_type, path, tests in manifest:
for test in tests:
test_id = [test.id]
test_id.extend(tuple(item) if isinstance(item, list) else item
for item in test.meta_key())
if hasattr(test, "script_metadata"):
if test.script_metadata is not None:
test_id.extend(tuple(item) for item in test.script_metadata)
if hasattr(test, "references"):
test_id.extend(tuple(item) for item in test.references)
test_id = tuple(test_id)
Expand Down

0 comments on commit cc7e210

Please sign in to comment.