messages/_config.py
def update_config_data(msg, cfg):
    """
    Updates the profile's config entry with values set in each attr by the
    user.  This will overwrite existing values.

    Args:
        :msg: (Message class) an instance of a message class.
        :cfg: (jsonconfig.Config) config instance.
    """
    for attr in msg:
        if attr in cfg.data[msg.profile] and attr is not "auth":
            cfg.data[msg.profile][attr] = getattr(msg, attr)
def update_config_data(msg, cfg):
    for attr in msg:
        if attr in cfg.data[msg.profile] and attr is not "auth":
            cfg.data[msg.profile][attr] = getattr(msg, attr)
def update_config_data ( msg , cfg ) : for attr in msg : if attr in cfg . data [ msg . profile ] and attr is not "auth" : cfg . data [ msg . profile ] [ attr ] = getattr ( msg , attr )
Updates the profile's config entry with values set in each attr by the
    user.  This will overwrite existing values.

    Args:
        :msg: (Message class) an instance of a message class.
        :cfg: (jsonconfig.Config) config instance.
Updates the profile s config entry with values set in each attr by the user . This will overwrite existing values .