aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2017-10-12 09:25:50 -0400
committerJosh Matthews <josh@joshmatthews.net>2017-10-12 12:36:21 -0400
commit1f531f66ea9d1ecb33cadb2ad6442673b016907a (patch)
tree601c5180196c97d6db33a47c50fd5738febf4081 /python/servo/testing_commands.py
parent462c2723806b91e4a0a888d2521a5ce778433949 (diff)
downloadservo-1f531f66ea9d1ecb33cadb2ad6442673b016907a.tar.gz
servo-1f531f66ea9d1ecb33cadb2ad6442673b016907a.zip
Update web-platform-tests to revision 8a2ceb5f18911302b7a5c1cd2791f4ab50ad4326
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r--python/servo/testing_commands.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index 8f17aa149b9..29d098e6cb4 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -496,14 +496,12 @@ class MachCommands(CommandBase):
description='Update the web platform tests',
category='testing',
parser=updatecommandline.create_parser())
- @CommandArgument('--patch', action='store_true', default=False,
- help='Create an mq patch or git commit containing the changes')
- def update_wpt(self, patch, **kwargs):
+ def update_wpt(self, **kwargs):
self.ensure_bootstrapped()
run_file = path.abspath(path.join("tests", "wpt", "update.py"))
- kwargs["no_patch"] = not patch
+ patch = kwargs.get("patch", False)
- if kwargs["no_patch"] and kwargs["sync"]:
+ if not patch and kwargs["sync"]:
print("Are you sure you don't want a patch?")
return 1