~andreserl/maas/refactor_debconf_selections_preseed

Viewing all changes in revision 5757.

  • Committer: MAAS Lander
  • Author(s): Gavin Panella
  • Date: 2017-02-24 15:17:17 UTC
  • mfrom: (5753.1.6 yaml-stuff)
  • Revision ID: maas_lander-20170224151717-yk3yrk9lm8m1nkf2
[r=mpontillo][bug=][author=allenap] Replace all uses of yaml.load and yaml.dump with yaml.safe_load and yaml.safe_dump.

Prevent the accidental use of the former in future. In addition, fix a spurious test failure caused by a YAML issue.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: