Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for safe_dump (0.06 sec)

  1. bin/diff_yaml.py

            print("-", k)
    
        print("##", "*" * 25)
    
        for k in sorted(common):
            if q0[k] != q1[k]:
                print("## ", k)
                s0 = yaml.safe_dump(q0[k], default_flow_style=False, indent=2)
                s1 = yaml.safe_dump(q1[k], default_flow_style=False, indent=2)
    
                print(datadiff.diff(s0, s1, fromfile=args.orig, tofile=args.new))
    
        return changed + len(added) + len(removed)
    
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Mar 03 16:14:57 UTC 2021
    - 4.5K bytes
    - Viewed (0)
Back to top