You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-ros/tf/files/yaml.patch

14 lines
559 B

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):