Skip to content

Instantly share code, notes, and snippets.

@bhcopeland
Created February 23, 2021 11:41
Show Gist options
  • Save bhcopeland/46f686f4921095d749d08def615165c6 to your computer and use it in GitHub Desktop.
Save bhcopeland/46f686f4921095d749d08def615165c6 to your computer and use it in GitHub Desktop.
diff --git a/submit_for_testing.py b/submit_for_testing.py
index 90183cb..c2b1d94 100755
--- a/submit_for_testing.py
+++ b/submit_for_testing.py
@@ -330,7 +330,7 @@ def main():
with open(variables, "r") as vars_file:
try:
yaml = YAML()
- context.update(yaml.load(vars_file))
+ context.update(yaml.load(vars_file, Loader=yaml.SafeLoader))
except ParserError as e:
logger.error(e)
except ComposerError as e:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment