common_lib.logging_config: Ignore KeyError on double close for logging handler
commit6392d8e5bbb127b52233cae5807ca7bd2e78d03c
authorlmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4>
Thu, 7 Jul 2011 12:50:59 +0000 (7 12:50 +0000)
committerlmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4>
Thu, 7 Jul 2011 12:50:59 +0000 (7 12:50 +0000)
tree60b963bf042e97a7fcb0b123fa35dcf6a3af3a73
parentd70bfa5c9244b1f2e5b069eafa63d6585904635b
common_lib.logging_config: Ignore KeyError on double close for logging handler

_clear_all_handlers will sometimes double close a handler, in this case
a KeyError will be raised. http://bugs.python.org/issue8581

Review URL: http://gerrit.chromium.org/gerrit/#change,3705

Signed-off-by: Dale Curtis <dalecurtis@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@5489 592f7852-d20e-0410-864c-8624ca9c26a4
client/common_lib/logging_config.py