summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ros/tf/files/yaml.patch')
-rw-r--r--dev-ros/tf/files/yaml.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-ros/tf/files/yaml.patch b/dev-ros/tf/files/yaml.patch
new file mode 100644
index 000000000000..344ef80417ae
--- /dev/null
+++ b/dev-ros/tf/files/yaml.patch
@@ -0,0 +1,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):