util,python: Updated maintainers.py to fix deprecation warning
authorBobby R. Bruce <bbruce@ucdavis.edu>
Fri, 11 Dec 2020 22:09:03 +0000 (14:09 -0800)
committerBobby R. Bruce <bbruce@ucdavis.edu>
Fri, 18 Dec 2020 22:26:05 +0000 (22:26 +0000)
commit79ed97f37b69506071dd4d4397f0e1c7a1ad52e2
tree3842619a201b871791b12caf98201fdc4fb5a500
parent9c556e79354a25205adf21fa89482816f26eef39
util,python: Updated maintainers.py to fix deprecation warning

The following warning was being thrown:

```
util/maint/lib/maintainers.py:120: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
```

This is fixed by adding `Loader=yaml.SafeLoader` when calling
`yaml.load()`.

Change-Id: I3b79115379a45409967a8848175658ab3c13bfc7
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/38476
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
util/maint/lib/maintainers.py