in3Utils.cfgUtils.compareConfig

compareConfig(iniFile, modName, compare, modInfo=False, toPrint=True)[source]

Compare configuration files (if a local and default are both provided) and inform user of the eventuel differences. Take the default as reference.

Inputs:

-iniFile: path to config file. Only one path if compare=False -compare: True if two paths are provided and a comparison is needed -modInfo: True if dictionary with modifications shall be returned -toPrint: True print configuration to terminal

Output: ConfigParser object