#NEWLINE# def _iter_convert_to_object( self , iterable ) : #NEWLINE# #INDENT# 'Iterable yields tuples of (binsha, mode, name), which will be converted\n        to the respective object representation' #NEWLINE# for ( binsha , mode , name ) in iterable : #NEWLINE# #INDENT# path = join_path ( self . path , name ) #NEWLINE# try : #NEWLINE# #INDENT# ( yield self . _map_id_to_type [ ( mode >> 12 ) ] ( self . repo , iterable , mode , path ) ) #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# raise TypeError ( ( "Unknown mode %o found in tree data for path '%s'" % ( mode , path ) ) )