Skip to content
Commit d20f6f54 authored by Vincent Stehle's avatar Vincent Stehle
Browse files

parser: handle yaml version



The yaml module has the FullLoader class since version 5.1 only; handle
this gracefully at runtime.

This fixes the following error:

  AttributeError: module 'yaml' has no attribute 'FullLoader'

Reported-by: Zhifei Yang's avatarZhifei Yang <zhifei.yang@arm.com>
Signed-off-by: Vincent Stehle's avatarVincent Stehlé <vincent.stehle@arm.com>
parent ce6ecaf4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment