xcp.logger: don't modify the handlers list while we're iterating over it
xcp.logger: don't modify the handlers list while we're iterating over it

Signed-off-by: Yann Dirson <9a3266eb84fe75b6e4a0d9d8e42ed70b568ec175@vates.fr>

xenserver/python-libs,xenserver/python-libs