#NEWLINE# def dependency_images( self ) : #NEWLINE# #INDENT# '\n        What images does this one require\n\n        Taking into account parent image, and those in link and volumes.share_with options\n        ' #NEWLINE# candidates = [ ] #NEWLINE# detach = dict ( ( ( link , ( not options . attached ) ) for ( candidate , options ) in self . dependency_options . items ( ) ) ) #NEWLINE# for link in self . links : #NEWLINE# #INDENT# if link . container : #NEWLINE# #INDENT# candidates . append ( link . container . name ) #NEWLINE# #UNINDENT# #UNINDENT# candidates . extend ( list ( self . shared_volume_containers ( ) ) ) #NEWLINE# done = [ ] #NEWLINE# for candidate in candidates : #NEWLINE# #INDENT# if ( candidate not in done ) : #NEWLINE# #INDENT# done . append ( candidate ) #NEWLINE# ( yield ( candidate , detach . get ( candidate , True ) ) )