#NEWLINE# @ classmethod #NEWLINE# def find_for_user( cls , force = False ) : #NEWLINE# #INDENT# 'Find all programs this user has defined' #NEWLINE# program_glob = path . join ( config . dirs . user_data_dir , 'programs' , '*.yaml' ) #NEWLINE# for filename in glob ( program_glob ) : #NEWLINE# #INDENT# basename = path . basename ( filename ) #NEWLINE# name = path . splitext ( basename ) [ 0 ] #NEWLINE# ( yield cls ( name , force = force ) )