Catch osc exceptions in obs.py:get_projects
authorEd Bartosh <eduard.bartosh@intel.com>
Mon, 17 Mar 2014 13:33:17 +0000 (15:33 +0200)
committerEduard Bartosh <eduard.bartosh@intel.com>
Mon, 17 Mar 2014 20:22:10 +0000 (22:22 +0200)
commit0ae4d26d4f1e836188bf05ac607e5120c854f655
treee49d46420e85a48f78642f1833617701ebcbfa85
parent9a280017e3fe2088ea17cee60072553a9fd36bc3
Catch osc exceptions in obs.py:get_projects

Catch OSCError exceptions and raises RepaException with the meaningful
error message. RepaException is processed in main.py and prints error
message to stderr.

Fixes: #1708

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