#NEWLINE# def _breadcrumbs( path ) : #NEWLINE# #INDENT# 'Return breadcrumb dict from path.' #NEWLINE# full = None #NEWLINE# crumbs = [ ] #NEWLINE# for part in path_yield ( path ) : #NEWLINE# #INDENT# full = ( path_join ( full , part ) if full else part ) #NEWLINE# crumbs . append ( ( full , part ) ) #NEWLINE# #UNINDENT# return crumbs