projects
/
osm
/
N2VC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
9a1bd31
)
Merge "Update deprecated use of yaml.load"
author
israelad
<adam.israel@canonical.com>
Tue, 26 Nov 2019 14:58:02 +0000
(15:58 +0100)
committer
Gerrit Code Review
<root@osm.etsi.org>
Tue, 26 Nov 2019 14:58:02 +0000
(15:58 +0100)
tests/base.py
patch
|
blob
|
history
diff --git
a/tests/base.py
b/tests/base.py
index
c7dad6d
..
aabf359
100644
(file)
--- a/
tests/base.py
+++ b/
tests/base.py
@@
-108,7
+108,7
@@
def has_metrics(charm):
def get_descriptor(descriptor):
desc = None
try:
- tmp = yaml.load(descriptor)
+ tmp = yaml.
safe_
load(descriptor)
# Remove the envelope
root = list(tmp.keys())[0]