forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes tests Closes: https://bugs.gentoo.org/623656 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Alexis Ballier <[email protected]>
- Loading branch information
Showing
3 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters