projects
/
osm
/
NBI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update from master
[osm/NBI.git]
/
osm_nbi
/
descriptor_topics.py
diff --git
a/osm_nbi/descriptor_topics.py
b/osm_nbi/descriptor_topics.py
index
fc85b43
..
ca10c42
100644
(file)
--- a/
osm_nbi/descriptor_topics.py
+++ b/
osm_nbi/descriptor_topics.py
@@
-437,7
+437,7
@@
class DescriptorTopic(BaseTopic):
indata = json.load(content)
else:
error_text = "Invalid yaml format "
indata = json.load(content)
else:
error_text = "Invalid yaml format "
- indata = yaml.
load(content, Loader=yaml.SafeLoader
)
+ indata = yaml.
safe_load(content
)
# Need to close the file package here so it can be copied from the
# revision to the current, unrevisioned record
# Need to close the file package here so it can be copied from the
# revision to the current, unrevisioned record