#NEWLINE# def save_session( self , * args ) : #NEWLINE# #INDENT# self . _saved_session = tuple ( args ) #NEWLINE# with open ( self . netarsee ( ) , 'a' ) as f : #NEWLINE# #INDENT# f . write ( 'machine {} login {} password {}\n' . format ( urlparse ( args . session . url ) . hostname , self . _saved_session [ 0 ] , self . _saved_session [ 1 ] ) )