compass.config.duplicate_config

compass.config.duplicate_config(config)[source]

Make a deep copy of config to changes can be made without affecting the original

Parameters

config (configparser.ConfigParser) – Configuration options

Returns

new_config (configparser.ConfigParser) – Deep copy of configuration options