#NEWLINE# def _prepare_domain_entry( self , context , domainref ) : #NEWLINE# #INDENT# scope = domainref . scope #NEWLINE# if ( scope == 'private' ) : #NEWLINE# #INDENT# this_domain = { #NEWLINE# #INDENT# 'domain' : domainref . domain , #NEWLINE# 'scope' : context , #NEWLINE# 'availability_zone' : domainref . availability_zone , #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# this_domain = { #NEWLINE# #INDENT# 'domain' : domainref . domain , #NEWLINE# 'scope' : scope , #NEWLINE# 'project' : domainref . project_id , #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# return this_domain