#NEWLINE# def list_resource_instances( self ) : #NEWLINE# #INDENT# client = self . _redis_maker ( ) #NEWLINE# resource_instances = [ ] #NEWLINE# for resource_type in client . smembers ( WEBLAB_RESOURCES ) : #NEWLINE# #INDENT# for resource_instance in client . smembers ( ( WEBLAB_RESOURCE % resource_type ) ) : #NEWLINE# #INDENT# resource_instances . append ( Resource ( resource_type , resource_instance ) ) #NEWLINE# #UNINDENT# #UNINDENT# return resource_instances