RESOLVED FIXED Bug 197771
[Flatpak] Use the safe PyYAML loader if available
https://bugs.webkit.org/show_bug.cgi?id=197771
Summary [Flatpak] Use the safe PyYAML loader if available
Adrian Perez
Reported 2019-05-10 06:39:32 PDT
Current versions of PyYAML give the following warning: /home/aperez/devel/WebKit/Tools/flatpak/flatpakutils.py:159: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. manifest = yaml.load(contents) Let's fix this and use “yaml.safe_load()” whenever it's available.
Attachments
Patch (1.46 KB, patch)
2019-05-10 06:42 PDT, Adrian Perez
no flags
Adrian Perez
Comment 1 2019-05-10 06:42:21 PDT
WebKit Commit Bot
Comment 2 2019-05-10 07:42:33 PDT
Comment on attachment 369551 [details] Patch Clearing flags on attachment: 369551 Committed r245172: <https://trac.webkit.org/changeset/245172>
WebKit Commit Bot
Comment 3 2019-05-10 07:42:34 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 4 2019-05-10 07:43:21 PDT
Note You need to log in before you can comment on or make changes to this bug.