From 5e902c9bfbccd19089f521652ac8fc7b32cb2d1f Mon Sep 17 00:00:00 2001 From: John Berlin Date: Fri, 31 May 2019 19:57:39 -0400 Subject: [PATCH] specified the loader for yaml.load since calling yaml.load without a loader is now depreciated (#472) --- pywb/utils/loaders.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pywb/utils/loaders.py b/pywb/utils/loaders.py index e2426dc8..d3fc7be7 100644 --- a/pywb/utils/loaders.py +++ b/pywb/utils/loaders.py @@ -73,7 +73,7 @@ def load_yaml_config(config_file): configdata = None try: configdata = load(config_file) - config = yaml.load(configdata) + config = yaml.load(configdata, Loader=yaml.Loader) finally: no_except_close(configdata)