TransRead: cleanup fake seek
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Wed, 19 Dec 2012 13:47:37 +0000 (15:47 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Wed, 19 Dec 2012 14:03:38 +0000 (16:03 +0200)
commitffe5942824776db539992bc65a26a3e229b7852b
treeb090894afbcefd765f3f9340f7871f1b16917cd0
parent2f825fd6f648f7969b0de5420ec2a38dc7e1fbed
TransRead: cleanup fake seek

Instead of patching objects run-time, just add seek() and tell() methods
to classes we need to support and use a helper '_fake_seek_forward()' function
from there. This is cleaner.

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