(encrypted_password)
Update the deploy section of the .travis.yml file
    to use the given encrypted password.
Update the deploy section of the .travis.yml file
    to use the given encrypted password.
Update the deploy section of the . travis . yml file to use the given encrypted password .
def update_travis_deploy_password(encrypted_password):
    """Update the deploy section of the .travis.yml file
    to use the given encrypted password.
    """
    config = load_yaml_config(TRAVIS_CONFIG_FILE)

    config['deploy']['password'] = dict(secure=encrypted_password)

    save_yaml_config(TRAVIS_CONFIG_FILE, config)

    line = ('# This file was autogenerated and will overwrite'
            ' each time you run travis_pypi_setup.py\n')
    prepend_line(TRAVIS_CONFIG_FILE, line)
def update_travis_deploy_password ( encrypted_password ) : config = load_yaml_config ( TRAVIS_CONFIG_FILE ) config [ 'deploy' ] [ 'password' ] = dict ( secure = encrypted_password ) save_yaml_config ( TRAVIS_CONFIG_FILE , config ) line = ( '# This file was autogenerated and will overwrite' ' each time you run travis_pypi_setup.py\n' ) prepend_line ( TRAVIS_CONFIG_FILE , line )