#NEWLINE# def unmount( self ) : #NEWLINE# #INDENT# "Unmounts the sftp system if it's currently mounted." #NEWLINE# if ( not self . mounted ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# cmd = ( 'fusermount -u %s' % self . mount_point_local ) #NEWLINE# shell_exec ( cmd ) #NEWLINE# if self . mounted : #NEWLINE# #INDENT# self . _kill ( ) #NEWLINE# shell_exec ( cmd ) #NEWLINE# #UNINDENT# self . _mount_point_local_delete ( )