#NEWLINE# def _get_quota_info( self , quota ) : #NEWLINE# #INDENT# quota_data = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for field in ( quotas . QUOTA_FIELDS + quotas . MISSING_QUOTA_FIELDS ) : #NEWLINE# #INDENT# if ( field != 'fixed_ips' ) : #NEWLINE# #INDENT# limit = ( quota . get ( field ) . limit or 10 ) #NEWLINE# quota_data [ field ] = int ( limit ) #NEWLINE# #UNINDENT# #UNINDENT# return quota_data