commit | 1278255612bb2f6a571f68867e534ac62993bc5f | [log] [tgz] |
---|---|---|
author | Stephen Finucane <stephenfinucane@hotmail.com> | Tue May 20 21:55:04 2014 +0100 |
committer | Stephen Finucane <stephenfinucane@hotmail.com> | Tue May 20 21:57:20 2014 +0100 |
tree | 41f422ce420b96f6e29695e8d329f1565a01b143 | |
parent | 6219af7f6dbab1e45aa94d7b29851b3915fb2862 [diff] |
oft: Enclose 'xmlrunner' import in try-except If the 'xmlrunner' package cannot be imported, an exception is thrown. Unhandled, the datapath will not shut down causing the program to hang. Ensure the datapath is killed before re-raising the exception. Signed-off-by: Stephen Finucane <stephenfinucane@hotmail.com>