- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for safe_load_all (0.08 sec)
-
bin/diff_yaml.py
def normalize(rl, args): for i in range(len(rl)): rl[i] = normalize_res(rl[i], args) return rl def compare(args): j0 = normalize(list(yaml.safe_load_all(open(args.orig))), args) j1 = normalize(list(yaml.safe_load_all(open(args.new))), args) q0 = {by_resource_name(res): res for res in j0 if res is not None} q1 = {by_resource_name(res): res for res in j1 if res is not None}
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Mar 03 16:14:57 UTC 2021 - 4.5K bytes - Viewed (0)