utils: handle child exceptions in fork_call() more gracefully
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 3 Apr 2014 13:43:39 +0000 (16:43 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 8 Apr 2014 09:17:46 +0000 (12:17 +0300)
commita36a87b5727594d5179e1be456f6ac02cc1fd07c
treee59796ea4a2718ef79a1285a5a37e1434c82645f
parent453866f00250d3de1a451a4a369b1244605e6f1e
utils: handle child exceptions in fork_call() more gracefully

Create a new exception type GbpChildBTError for handling exceptions that
happen in the function that is called in fork_call(). Allows us to catch
exceptions in the called "child" function and print out correct
traceback.

Change-Id: Ib99630df0fa788dc0ec86450460f9daede0a4f59
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
obs_service_gbp_utils/__init__.py
tests/test_obs_service_gbp_utils.py