obs.py: Raise RepaException instead of ObsError
authorEd Bartosh <eduard.bartosh@intel.com>
Mon, 17 Mar 2014 14:51:16 +0000 (16:51 +0200)
committerEduard Bartosh <eduard.bartosh@intel.com>
Tue, 18 Mar 2014 12:56:04 +0000 (14:56 +0200)
commit7df5c005d07e1f9e5762c95442570fe8a3866587
treee6b25d07c60a91fd9310d5d9b2a22ae6b23777c5
parent0ae4d26d4f1e836188bf05ac607e5120c854f655
obs.py: Raise RepaException instead of ObsError

It's better to raise RepaException as it is caught in main.py and error
is printed on stderr. ObsError produces ugly python traceback and scares
users.

References: #1687

Change-Id: Iea85eb263c7e4010df1fa50bf6e16da1ef7f1af0
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/10673
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
Reviewed-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
repa/obs.py