#NEWLINE# def logout( self , revoke_oauth = False ) : #NEWLINE# #INDENT# 'Forgets local authentication in this Client instance.\n\n        :param revoke_oauth: if True, oauth credentials will be permanently\n          revoked. If credentials came from a file, it will be deleted.\n\n        Returns ``True`` on success.' #NEWLINE# success = True #NEWLINE# if revoke_oauth : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# self . session . _oauth_creds . revoke ( httplib2 . Http ( ) ) #NEWLINE# #UNINDENT# except TokenRevokeError : #NEWLINE# #INDENT# self . logger . exception ( 'could not revoke oauth credentials' ) #NEWLINE# success = False #NEWLINE# #UNINDENT# #UNINDENT# self . uploader_id = None #NEWLINE# self . uploader_name = None #NEWLINE# return ( success and super ( Musicmanager , self ) . logout ( ) )