TransRead: get rid of the __getattr__ method
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Wed, 19 Dec 2012 09:41:08 +0000 (11:41 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Wed, 19 Dec 2012 13:24:29 +0000 (15:24 +0200)
commit28296eb94b01d0bcb97262d859c4e97390143ee3
treea8793942f3eeffcb13162485bdf43c7727142b60
parent181554363f22f7cf6f99b62ee415a2384a65d48f
TransRead: get rid of the __getattr__ method

The TransRead class implements very limited file-like objects. It is safer
to explicitely specify all the methods it supports, instead of defaulting
to the methods of the underlying 'transfile_obj'.

Change-Id: I51c4ee16f0313e0b39741f10bc04d480e48d19dc
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
bmaptools/TransRead.py