diff --git a/tools/packaging/parseTestRecord.py b/tools/packaging/parseTestRecord.py index 3a76e85aba..681039d34b 100644 --- a/tools/packaging/parseTestRecord.py +++ b/tools/packaging/parseTestRecord.py @@ -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