#NEWLINE# def command_preflight_check( self ) : #NEWLINE# #INDENT# 'Detects whether we have everything needed to mount sshfs filesystems.\n        ' #NEWLINE# ( checks_pass , failures ) = self . environment . perform_preflight_check ( ) #NEWLINE# if checks_pass : #NEWLINE# #INDENT# print ( 'All checks pass.' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# sys . stderr . write ( 'Problems encountered:\n' ) #NEWLINE# for msg in msg : #NEWLINE# #INDENT# sys . stderr . write ( ( ' - %s\n' % msg ) ) #NEWLINE# #UNINDENT# sys . exit ( 1 )