#NEWLINE# def get_password_from_keyring( username ) : #NEWLINE# #INDENT# result = keyring . get_password ( KEYRING_SYSTEM , username ) #NEWLINE# if ( result is None ) : #NEWLINE# #INDENT# raise NoStoredPasswordAvailable ( 'No pyicloud password for {username} could be found in the system keychain.  Use the `--store-in-keyring` command-line option for storing a password for this username.' . format ( username = result ) ) #NEWLINE# #UNINDENT# return result