TransRead: catch ValueError exceptions
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Fri, 4 Jan 2013 14:46:31 +0000 (16:46 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Fri, 4 Jan 2013 14:46:31 +0000 (16:46 +0200)
commitb403f741e724940ccd2f86a01df35d6d7abbee7e
tree64cc5a366dc196fe61a5bf4b803b28554c87d254
parent07738da0f7d63f5e651e1ecf0ae8c19f8025df4f
TransRead: catch ValueError exceptions

Sometimes urllib2 throws ValueError exceptions when it cannot open a local
file. Catch it as well.

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