#NEWLINE# def _get_common_paths( self , node_groups ) : #NEWLINE# #INDENT# sets = [ ] #NEWLINE# for node_group in node_groups : #NEWLINE# #INDENT# for instance in sets . instances : #NEWLINE# #INDENT# sets . append ( set ( instance . sahara_instance . storage_paths ( ) ) ) #NEWLINE# #UNINDENT# #UNINDENT# return ( list ( set . intersection ( * sets ) ) if sets else [ ] )