diff options
Diffstat (limited to 'python/wpt/update.py')
-rw-r--r-- | python/wpt/update.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/python/wpt/update.py b/python/wpt/update.py index 138bcfb2233..11c055c0240 100644 --- a/python/wpt/update.py +++ b/python/wpt/update.py @@ -109,7 +109,13 @@ def update_tests(**kwargs) -> int: wptcommandline.set_from_config(kwargs) if hasattr(wptcommandline, 'check_paths'): - wptcommandline.check_paths(kwargs["test_paths"]) + # FIXME(mukilan): temporary hack since check_paths + # is used before and after we sync the wptrunner code + # with upstream and upstream has changed the argument + try: + wptcommandline.check_paths(kwargs) + except AttributeError: + wptcommandline.check_paths(kwargs["test_paths"]) if kwargs.pop("legacy_layout"): update_args_for_legacy_layout(kwargs) |