Skip to content
This repository was archived by the owner on Sep 23, 2021. It is now read-only.

Commit

Permalink
fixed obsolete warning from pyyaml
Browse files Browse the repository at this point in the history
  • Loading branch information
hansehe committed Mar 14, 2019
1 parent 69d2870 commit 43bc3c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SwarmManagement/SwarmTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def GetYamlData(yamlFiles, ignoreEmptyYamlData = False):
for yamlFile in yamlFiles:
yamlStrings += GetYamlString(yamlFile)
yamlStrings = ReplaceEnvironmentVariablesMatches(yamlStrings)
yamlData = yaml.load(yamlStrings)
yamlData = yaml.safe_load(yamlStrings)
if yamlData == None:
if ignoreEmptyYamlData:
yamlData = {}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
# For a discussion on single-sourcing the version across setup.py and the
# project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='1.1.36', # Required
version='1.1.37', # Required

# This is a one-line description or tagline of what your project does. This
# corresponds to the "Summary" metadata field:
Expand Down

0 comments on commit 43bc3c2

Please sign in to comment.