]> git.ipfire.org Git - thirdparty/bind9.git/commit
Silence PyYAML warning
authorMichał Kępień <michal@isc.org>
Thu, 23 Apr 2020 06:07:07 +0000 (08:07 +0200)
committerMark Andrews <marka@isc.org>
Tue, 30 Jun 2020 01:43:35 +0000 (11:43 +1000)
commit74a738428c64b73aa75effcb18b02b54009f1501
tree3a03626c903c273ac9bafc38b3c9d92444c564e1
parent66c9390775084526de45854fd4b353a4ccdb47ba
Silence PyYAML warning

Make yaml.load_all() use yaml.SafeLoader to address a warning currently
emitted when bin/tests/system/dnstap/ydump.py is run:

    ydump.py:28: YAMLLoadWarning: calling yaml.load_all() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
      for l in yaml.load_all(f.stdout):

(cherry picked from commit 62f631f798ef6d0c3bf52789689ae950c3671115)
bin/tests/system/dnstap/ydump.py