yaml.load missing required Loader on lunar
Bug #2003693 reported by
Adam Collard
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas-images |
Fix Committed
|
High
|
Unassigned |
Bug Description
Building images for v3 streams
Traceback (most recent call last):
File "/build/
call_
File "/build/
sys.
File "/build/
cfgdata = yaml.load(fp)
TypeError: load() missing 1 required positional argument: 'Loader'
As per CHANGES in pyyaml
* https:/
yaml.load() now requires a Loader argument
Related branches
~adam-collard/maas-images:yaml-safe-load
- Alberto Donato: Approve
-
Diff: 41 lines (+3/-3)3 files modifiedmeph2/commands/build_image.py (+1/-1)
meph2/commands/cloudimg_sync.py (+1/-1)
meph2/stream.py (+1/-1)
Changed in maas-images: | |
importance: | Undecided → High |
status: | New → In Progress |
Changed in maas-images: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
we should probably change to use yaml.safe_load() everywhere