def get_data_i(entry, attr_name):
	"""Get attr data from an entry, trying exact case, then lower case"""
	if entry.has_key(attr_name):
		return entry[attr_name]
	else:
		lcname = attr_name.lower()
		if entry.has_key(lcname):
			return entry[lcname]
		else:
			return []