munki / munki-pkg

Repo for the munkipkg tool and example projects
Other
344 stars 72 forks source link

Specify yaml loader #35

Closed MichalMMac closed 5 years ago

MichalMMac commented 5 years ago

There was a warning when using YAML files with munkipkg:

/usr/local/bin/munkipkg:122: YAMLLoadWarning: 
  *** Calling yaml.load() without Loader=... is deprecated.
  *** The default Loader is unsafe.
  *** Please read https://msg.pyyaml.org/load for full details.
  build_info = yaml.load(openfile)

This PR fixes the issue described in pyyaml wiki.

homebysix commented 5 years ago

Sorry, I forgot this PR existed and duplicated it: https://github.com/munki/munki-pkg/pull/36

gregneagle commented 5 years ago

I can merge this one, too :-)