aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
authorSimon Martin <simartin@users.sourceforge.net>2015-11-08 14:48:02 +0100
committerSimon Martin <simartin@users.sourceforge.net>2015-11-08 14:48:02 +0100
commit3b087d406adf205999943dcda71b3245c41554e9 (patch)
tree9d12170fff6196470e64d9d01c7da3258ea46e6e /python/servo/testing_commands.py
parent92f9e58310f1b7c3925882979ae9352967866b66 (diff)
downloadservo-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.py3
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()