Error on duplicate YAML keys

This should help avoid a situation where a dictionary value is
silently overwritten.  This is in accordance with the YAML spec,
and it is a great mystery why pyyaml doesn't do this already.

Change-Id: I130f2b7e9c9fb8bd4176fd658f378e249a6a3b3f
2 files changed