def update_config(self, config_dict, config_file):
        """Update the content and reference of the config

        :param dict config_dict: The new configuration
        :param str config_file: The new file reference
        """
        config_path = path.dirname(config_file)
        self.config.config_file_path = config_file
        self.config.path = config_path
        for config_key, config_value in config_dict.items():
            if config_value != self.config.get_config_value(config_key):
                self.set_preliminary_config_value(config_key, config_value)
def update_config ( self , config_dict , config_file ) : config_path = path . dirname ( config_file ) self . config . config_file_path = config_file self . config . path = config_path for config_key , config_value in config_dict . items ( ) : if config_value != self . config . get_config_value ( config_key ) : self . set_preliminary_config_value ( config_key , config_value )
Update the content and reference of the config

        :param dict config_dict: The new configuration
        :param str config_file: The new file reference