#NEWLINE# def list_images( self ) : #NEWLINE# #INDENT# params = { #NEWLINE# #INDENT# 'api_action' : 'avail.distributions' , #NEWLINE# #UNINDENT# } #NEWLINE# data = self . connection . request ( LINODE_ROOT , params = params ) . object #NEWLINE# distros = [ ] #NEWLINE# for obj in data : #NEWLINE# #INDENT# i = NodeImage ( id = obj [ 'DISTRIBUTIONID' ] , name = obj [ 'LABEL' ] , driver = self . connection . driver ) #NEWLINE# distros . append ( i ) #NEWLINE# #UNINDENT# return distros