def getProperties(Id,propertyName):
	"""
	Get the properties for the associated group/contract combination
	"""
	property_parameters = { "contractId":Id['contract'], "groupId":Id['group'] }
	property_result = getResult('/papi/v0/properties', property_parameters)
	property_items = property_result['properties']['items']
	print "Grabbing specific information about the %s property" % propertyName

	"""
	Just go ahead and iterate over the dictionary, we're just
	finding a particular property
	"""

	testproperty_item = {}

	for item in property_items:
		if item['propertyName'] != propertyName:
			continue

		testproperty_item = item

	if not testproperty_item:
		print "  No %s found" % propertyName
		exit()

	print "  Found the property %s" % propertyName
	print "    Name: %s" % testproperty_item['propertyName']
	print "    Latest Version: %s"  % testproperty_item['latestVersion']
	print "    Property ID: %s"  % testproperty_item['propertyId']
	print Id['group']  % "    Group ID: %s"
	print "    Contract ID: %s"  % Id['contract']
	return (testproperty_item['propertyId'],testproperty_item['latestVersion'])
dataset/ETHPy150Open akamai-open/api-kickstart/examples/python/papi_prefetch_toggle.py/getProperties/swapped operands of `%`