blob: 344ef80417aef6d32676049583df8884522c81b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Index: tf/src/tf/listener.py
===================================================================
--- tf.orig/src/tf/listener.py
+++ tf/src/tf/listener.py
@@ -94,7 +94,7 @@ class Transformer(object):
def getFrameStrings(self):
""" Not a recommended API, only here for backwards compatibility """
- data = yaml.load(self._buffer.all_frames_as_yaml()) or {}
+ data = yaml.safe_load(self._buffer.all_frames_as_yaml()) or {}
return [p for p, _ in data.items()]
def getLatestCommonTime(self, source_frame, dest_frame):
|