bmaptool: fix --nobmap case
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Tue, 24 Sep 2013 09:55:07 +0000 (12:55 +0300)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Mon, 30 Sep 2013 07:10:03 +0000 (10:10 +0300)
commit97362ebee78fa174d2ec8b74547a8f7b96e9dcc7
tree7ef708be83d3813c76f8a441bf4723b04b5a5535
parentb53484690e0c369b46148264d886fe5c9a39264e
bmaptool: fix --nobmap case

One of the previous commits introduced the NamedFile class and broke the
--nobmap case, because we created a NamedFile object even when f_bmap was None.
This patch fixes the problem.

Change-Id: I4592e06b1385dcf5d34b42717b0374c68d0c223f
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
bmaptool