[Webkit-unassigned] [Bug 197771] New: [Flatpak] Use the safe PyYAML loader if available

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 10 06:39:32 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=197771

            Bug ID: 197771
           Summary: [Flatpak] Use the safe PyYAML loader if available
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aperez at igalia.com
                CC: lforschler at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190510/1025ba0f/attachment.html>


More information about the webkit-unassigned mailing list