mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Fix exception when updating WPT metadata.
This commit is contained in:
parent
2d3771daab
commit
00738bf1f6
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