Example #1
0
	def read_transaction(self):
		line = self.readline()
		if not line.endswith('\n'):
			return # EOF reached
		return Transaction.from_str(line.strip())