Skip to content
Snippets Groups Projects
Commit 26faeed5 authored by Brian Terlson's avatar Brian Terlson
Browse files

Merge pull request #347 from bocoup/all-monkey-all-the-time

Use "monkeyYaml" in all environments
parents c6ac3908 1303ef0d
Branches
No related tags found
No related merge requests found
......@@ -113,12 +113,8 @@ def importYamlLoad():
global yamlLoad
if yamlLoad:
return
try:
import yaml
yamlLoad = yaml.load
except:
monkeyYaml = loadMonkeyYaml()
yamlLoad = monkeyYaml.load
monkeyYaml = loadMonkeyYaml()
yamlLoad = monkeyYaml.load
def loadMonkeyYaml():
f = None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment