def MergeIniDD(fusionDD, serverDD):
  """ Merge Fusion's current state of its ini Definition Dictionary with 
      the server's DD. Fusion's DD takes precedence.

      Parameters:
        fusionDD  - Fusion's current ini definition dictionary
        serverDD  - server's ini definition dictionary

      Return Value:
        Merged fusion DD
  """
  if not serverDD:
    return fusionDD
  for iniSSection, iniSSectData in serverDD.items():
    if iniSSection not in fusionDD:
      fusionDD[iniSSection] = iniSSectData
    else:
      iniCOptDict = fusionDD[iniSSection][1]
      iniSOptDict = iniSSectData[1]
      for iniSOption, iniSOptData in iniSOptDict.items():
        if iniSOption not in iniCOptDict:
          iniCOptDict[iniSOption] = iniSOptData
  return fusionDD