commit | 39a4a9f48c682979b95fdf18a5b5e02b0d6c8891 | [log] [tgz] |
---|---|---|
author | James E. Blair <jeblair@redhat.com> | Thu Mar 02 12:00:52 2017 -0800 |
committer | James E. Blair <jeblair@redhat.com> | Fri Mar 03 11:12:26 2017 -0800 |
tree | 9ab7151e9a5d13a9d521ceaf94303e91abdc61cd | |
parent | 149b69c288f6fbf4b5e4a2d93fd568300b94d4ab [diff] |
Catch gear.InterruptedError This is how gear lets us know that it has been stopped by another thread. Since we weren't catching these exceptions explicitly, they were polluting the logs on shutdown (especially in tests). Catch them and return immediately from the daemon run methods. Change-Id: I6f845566c759651e630d7f93c94dce975ad53d30