pwtools.common.add_to_config

pwtools.common.add_to_config(config, info)[source]

Add sections and key-val paris in info to config.

Parameters:
  • config (configparser.ConfigParser object)

  • info (dict of dicts, see io.writearr())

Return type:

modified config