TransRead: provide user-friendly error message for pbzip2
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Tue, 28 Jan 2014 12:05:40 +0000 (14:05 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Tue, 28 Jan 2014 12:23:22 +0000 (14:23 +0200)
commitca601f814c70682f88cb489e05614f3ad4fc4407
tree68467cde75f99e48c02519f9ad29fe45a19b1ce0
parent790127a070f20b29e65a210f44d8d1b78e717797
TransRead: provide user-friendly error message for pbzip2

If the bz2 file is a multi-stream archive and the 'bz2file' library was not
found, we cannot read the file and just fail with a scary traceback. This patch
adds a nice user-friendly message which suggests what to do in this case.

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