def format_allowed(allowed):
 return_value = []
 if (allowed.count(';') == 0):
  return [format_allowed_section(allowed)]
 else:
  sections = allowed.split(';')
  for section in sections:
   return_value.append(format_allowed_section(section))
 return return_value

def format_allowed ( allowed ) : return_value = [ ] if ( allowed . count ( ';' ) == 0 ) : return [ format_allowed_section ( allowed ) ] else : sections = allowed . split ( ';' ) for section in sections : return_value . append ( format_allowed_section ( section ) ) return return_value
format the allowed value so that it is gce compatible .