diff options
author | Simon Martin <simartin@users.sourceforge.net> | 2015-11-08 14:48:02 +0100 |
---|---|---|
committer | Simon Martin <simartin@users.sourceforge.net> | 2015-11-08 14:48:02 +0100 |
commit | 3b087d406adf205999943dcda71b3245c41554e9 (patch) | |
tree | 9d12170fff6196470e64d9d01c7da3258ea46e6e /python/servo/testing_commands.py | |
parent | 92f9e58310f1b7c3925882979ae9352967866b66 (diff) | |
download | servo-3b087d406adf205999943dcda71b3245c41554e9.tar.gz servo-3b087d406adf205999943dcda71b3245c41554e9.zip |
Avoid UnboundLocalError upon "bogus" usage of ./mach create-wpt
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r-- | python/servo/testing_commands.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index 91e7fb09089..b362ee50037 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -598,4 +598,5 @@ testing/web-platform/mozilla/tests for Servo-only tests""" % ref_path) wpt_kwargs = vars(p.parse_args(args)) self.context.commands.dispatch("test-wpt", self.context, **wpt_kwargs) - proc.wait() + if editor: + proc.wait() |