Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

pass the specific YAML loader to yaml.load #648

Merged
merged 1 commit into from
Jun 26, 2019

Commits on Jun 20, 2019

  1. pass the specific YAML loader to yaml.load

    Following the advice from [this page](https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation) to prevent the deprecation messages like this one:
    
    ```
    /artman/artman/config/loader.py:99: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
      json_string = json.dumps(yaml.load(f))
    /artman/artman/config/loader.py:126: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
      artman_config_json_string = json.dumps(yaml.load(f))
    ```
    alexander-fenster authored Jun 20, 2019
    Configuration menu
    Copy the full SHA
    cd1d743 View commit details
    Browse the repository at this point in the history