- commit
- 6c1b0c9db3a03b8eb76f6730555ea61c1775f197
- parent
- 15aadeece33894d3c1d0f82823cc0d8e5f09c43f
- Author
- Tobias Bengfort <tobias.bengfort@gmx.net>
- Date
- 2016-06-17 07:04
use yaml.safe_load
Diffstat
| M | cctool.py | 2 | +- |
1 files changed, 1 insertions, 1 deletions
diff --git a/cctool.py b/cctool.py
@@ -429,7 +429,7 @@ class YAML(Format): 429 429 if isinstance(yaml, Exception): # pragma: nocover 430 430 raise yaml 431 431432 -1 return [MultiDict(d) for d in yaml.load(fh.read())]-1 432 return [MultiDict(d) for d in yaml.safe_load(fh.read())] 433 433 434 434 @classmethod 435 435 def dump(cls, data, fh):