aboutsummaryrefslogtreecommitdiffstats
path: root/python/wpt/manifestupdate.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/wpt/manifestupdate.py')
-rw-r--r--python/wpt/manifestupdate.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/wpt/manifestupdate.py b/python/wpt/manifestupdate.py
index c1428aa2cca..b7e3bd9fb1a 100644
--- a/python/wpt/manifestupdate.py
+++ b/python/wpt/manifestupdate.py
@@ -31,8 +31,9 @@ def create_parser():
return p
-def update(check_clean=True, rebuild=False, **kwargs):
- logger = wptlogging.setup(kwargs, {"mach": sys.stdout})
+def update(check_clean=True, rebuild=False, logger=None, **kwargs):
+ if not logger:
+ logger = wptlogging.setup(kwargs, {"mach": sys.stdout})
kwargs = {"config": os.path.join(WPT_PATH, "config.ini"),
"product": "servo",
"manifest_path": os.path.join(WPT_PATH, "meta"),