'Merge |plist| into |merged_plist|.'

def _MergePlist(self, merged_plist, plist):

    for (key, value) in plist.iteritems():
        if isinstance(value, dict):
            merged_value = merged_plist.get(key, {})
            if isinstance(merged_value, dict):
                self._MergePlist(merged_value, value)
                merged_plist[key] = merged_value
            else:
                merged_plist[key] = value
        else:
            merged_plist[key] = value
