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 -->
This commit is contained in:
bors-servo 2015-11-09 01:23:22 +05:30
commit 43a5c62fde

View file

@ -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)
if editor:
proc.wait()