#NEWLINE# def scan_in_memory( node , env , path = ( ) ) : #NEWLINE# #INDENT# '\n    "Scans" a Node.FS.Dir for its in-memory entries.\n    ' #NEWLINE# try : #NEWLINE# #INDENT# entries = node . entries #NEWLINE# #UNINDENT# except AttributeError : #NEWLINE# #INDENT# return [ ] #NEWLINE# #UNINDENT# entry_list = sorted ( filter ( do_not_scan , list ( entries . keys ( ) ) ) ) #NEWLINE# return [ env [ n ] for n in entry_list ]