TransRead: implement better fake seek method
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Fri, 14 Dec 2012 14:16:01 +0000 (16:16 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Wed, 19 Dec 2012 09:44:20 +0000 (11:44 +0200)
commit36fc46ba9ecd08fcbb8ee1342b63940ba2120af4
tree4ecc51a1c6f435c0c2e31b3f422036ab636c56f5
parent48f10b93fce5850e9b43377c243bb3b31cba4252
TransRead: implement better fake seek method

Implement a generic '_add_fake_seek()' function which adds fake seek support to
any file-like object.

Also add support of URLs - open them using urllib2.

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