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)

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 )
update the deploy section of the .