Fix exception when updating WPT metadata.

This commit is contained in:
Josh Matthews 2018-03-05 22:23:09 -05:00 committed by GitHub
parent 2d3771daab
commit 00738bf1f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,8 @@ def check_args(kwargs):
from wptrunner import wptcommandline
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"]
if kwargs["upstream"]: