python-networkx/python-networkx-pyyaml.patch
DistroBaker cc84824fdc Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/python-networkx.git#d98bb9082bf8f6c13bdba7141cae39719f92f4d5
2021-01-26 17:53:39 +00:00

10 lines
409 B
Diff

--- networkx/readwrite/nx_yaml.py.orig 2020-08-22 14:01:28.000000000 -0600
+++ networkx/readwrite/nx_yaml.py 2021-01-26 10:02:43.555537204 -0700
@@ -88,5 +88,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