diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2015-11-09 01:23:22 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2015-11-09 01:23:22 +0530 |
commit | 43a5c62fdec0b8e25c7cd708d3dd5a17e1dad6be (patch) | |
tree | da0a1890feb139db472e146cd74da42ab27428ba | |
parent | 9bcae9a866b85a90b75b9cbfcb9058287c1c0871 (diff) | |
parent | 3b087d406adf205999943dcda71b3245c41554e9 (diff) | |
download | servo-43a5c62fdec0b8e25c7cd708d3dd5a17e1dad6be.tar.gz servo-43a5c62fdec0b8e25c7cd708d3dd5a17e1dad6be.zip |
Auto merge of #8410 - simartin:issue_8407, r=nox
Avoid UnboundLocalError upon "bogus" usage of ./mach create-wpt
Fixes https://github.com/servo/servo/issues/8407
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8410)
<!-- Reviewable:end -->
-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() |