Auto merge of #20206 - servo:jdm-patch-2, r=nox

Ensure default paths are set when updating WPT metadata.

This fixes https://github.com/w3c/web-platform-tests/issues/9819 and will allow our nightly upstream sync to complete.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20206)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-03-05 14:47:38 -05:00 committed by GitHub
commit 2d3771daab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,6 +20,7 @@ def check_args(kwargs):
from wptrunner import wptcommandline from wptrunner import wptcommandline
wptcommandline.set_from_config(kwargs) wptcommandline.set_from_config(kwargs)
wptcommandline.check_paths(kwargs)
kwargs["upstream"] = kwargs["upstream"] if kwargs["upstream"] is not None else kwargs["sync"] kwargs["upstream"] = kwargs["upstream"] if kwargs["upstream"] is not None else kwargs["sync"]
if kwargs["upstream"]: if kwargs["upstream"]: