#NEWLINE# def _get_suggestions( self , filter_word = None ) : #NEWLINE# #INDENT# '\n        This only gets caled internally from the get_suggestion method.\n        ' #NEWLINE# keys = self . manifest . keys ( ) #NEWLINE# words = [ ] #NEWLINE# for key in keys : #NEWLINE# #INDENT# if isinstance ( self . manifest [ key ] , Manifest ) : #NEWLINE# #INDENT# words . append ( ( key + '/' ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# words . append ( key ) #NEWLINE# #UNINDENT# #UNINDENT# if filter_word : #NEWLINE# #INDENT# words = [ x for x in words if x . startswith ( filter_word ) ] #NEWLINE# #UNINDENT# return words