mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
replace usage of FullLoader w/ safe_load
This commit is contained in:
@@ -12,7 +12,7 @@ file_pattern_cache = {}
|
||||
file_path_cache = {}
|
||||
|
||||
|
||||
class Loader(yaml.FullLoader):
|
||||
class Loader(yaml.SafeLoader):
|
||||
|
||||
def __init__(self, stream):
|
||||
self._root = os.path.split(stream.name)[0]
|
||||
|
||||
Reference in New Issue
Block a user