def readline(self, line):
		line = line.strip('\r\n\t ')
		if len(line) == 0:
			return
		try:
			m = re.search('(.*)=(.*)$', line)
			if not m:
				print 'Failed to parse line: %s'%(line.strip('\n\t '))
				return
			self.set(m.group(1), m.group(2))
		except IndexError as e:
			print 'Failed to parse line: %s (%s)'%(line.strip('\n\t '),e)