BmapCopy: drop the file opening functionality
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Mon, 17 Dec 2012 10:42:02 +0000 (12:42 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Mon, 17 Dec 2012 14:50:00 +0000 (16:50 +0200)
commit2a21311b01a4379f0546c263297a14b53b8e3969
treeebd860e163e0188d774eaa470c4733aecdc14d58
parent55e2174b2b6e61b187b80caeea24b8d1905d27e9
BmapCopy: drop the file opening functionality

The BmapCopy class is getting too large and specialized. Improve the situation
by changing the API and removing the file opening functionality. Now it
requires file-like objects all the time. The bmaptool, in turn, now opens the
files itself.

Change-Id: Id62794dfcf21e422fb5e4b9a3a025b2beb25506f
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
bmaptool
bmaptools/BmapCopy.py
tests/test_api_base.py