6 with open("application.yml.override") as f:
11 with open("application.yml") as f:
14 def recursiveMerge(a, b):
15 if isinstance(a, dict) and isinstance(b, dict):
18 a[k] = recursiveMerge(a.get(k), b[k])
23 with open("application.yml", "w") as f:
24 yaml.dump(recursiveMerge(a, b), f)