mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Auto merge of #20209 - servo:jdm-patch-6, r=glennw
Fix exception when updating WPT metadata. <!-- 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/20209) <!-- Reviewable:end -->
This commit is contained in:
commit
b7a8d78972
1 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,8 @@ 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)
|
if hasattr(wptcommandline, 'check_paths'):
|
||||||
|
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"]:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue