Bug 1275926 - Fixup a missing return statement in wpt logging setup, r=me
authorJames Graham <james@hoppipolla.co.uk>
Tue, 09 Oct 2018 12:03:35 +0100
changeset 488545 8b5926fac04e55e492e998b87920931cd32f3a73
parent 488544 eab20dd50c4cddfdbb531139a5cbf7654361666e
child 488546 f574c731fcb0e65e969a53e86ffd7ff57bbe2000
push id246
push userfmarier@mozilla.com
push dateSat, 13 Oct 2018 00:15:40 +0000
reviewersme
bugs1275926
milestone64.0a1
Bug 1275926 - Fixup a missing return statement in wpt logging setup, r=me
testing/web-platform/tests/tools/wptrunner/wptrunner/wptrunner.py
--- a/testing/web-platform/tests/tools/wptrunner/wptrunner/wptrunner.py
+++ b/testing/web-platform/tests/tools/wptrunner/wptrunner/wptrunner.py
@@ -34,16 +34,17 @@ The runner has several design goals:
 The upstream repository has the facility for creating a test manifest in JSON
 format. This manifest is used directly to determine which tests exist. Local
 metadata files are used to store the expected test results.
 """
 
 def setup_logging(*args, **kwargs):
     global logger
     logger = wptlogging.setup(*args, **kwargs)
+    return logger
 
 
 def get_loader(test_paths, product, debug=None, run_info_extras=None, **kwargs):
     if run_info_extras is None:
         run_info_extras = {}
 
     run_info = wpttest.get_run_info(kwargs["run_info"], product,
                                     browser_version=kwargs.get("browser_version"),