#NEWLINE# def _get_extra_specs( self , context , flavor_id ) : #NEWLINE# #INDENT# extra_specs = db . api . instance_type_extra_specs_get ( context , flavor_id ) #NEWLINE# specs_dict = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for ( key , value ) in extra_specs . iteritems ( ) : #NEWLINE# #INDENT# specs_dict [ key ] = value #NEWLINE# #UNINDENT# return dict ( extra_specs = specs_dict )