class Freshness(object):
	__slots__ = ['time', 'text']

	def __init__(self, time, text):
		self.time = time
		self.text = text
	
	def __str__(self):
		return self.text

freshness_levels = [
	Freshness(-1, 'No automatic updates'),
	#Freshness(60, 'Up to one minute old'),
	#Freshness(60 * 60, 'Up to one hour old'),
	Freshness(24 * 60 * 60, 'Up to one day old'),
	Freshness(7 * 24 * 60 * 60, 'Up to one week old'),
	Freshness(30 * 24 * 60 * 60, 'Up to one month old'),
	Freshness(365 * 24 * 60 * 60, 'Up to one year old'),
	]


syntax highlighted by Code2HTML, v. 0.9.1