Skip to content

Commit

Permalink
fixes Github Actions failures (#4548)
Browse files Browse the repository at this point in the history
Github Actions failing due to new release of pyyaml==5.4, this change should resolve that issue
  • Loading branch information
dpfens committed Jan 20, 2021
1 parent 31c70c2 commit a6dd458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion networkx/readwrite/nx_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,5 @@ def read_yaml(path):
except ImportError as e:
raise ImportError("read_yaml() requires PyYAML: http://pyyaml.org/") from e

G = yaml.load(path, Loader=yaml.FullLoader)
G = yaml.load(path, Loader=yaml.Loader)
return G

0 comments on commit a6dd458

Please sign in to comment.