Avoid UnboundLocalError upon "bogus" usage of ./mach create-wpt

This commit is contained in:
Simon Martin 2015-11-08 14:48:02 +01:00
parent 92f9e58310
commit 3b087d406a

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