]> arthur.barton.de Git - bup.git/commit - lib/bup/helpers.py
log(): handle situations where stderr gets set to nonblocking.
authorAvery Pennarun <apenwarr@gmail.com>
Wed, 3 Mar 2010 04:18:49 +0000 (23:18 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Wed, 3 Mar 2010 04:19:59 +0000 (23:19 -0500)
commit046fb8ee84131b5839fbaf4add2498a1236e96c3
treeadca387ddb4fdd92c5508ff4ce7b202f347f6fa1
parent2bb6304e880b2743376bc9269af0818af9cc0f28
log(): handle situations where stderr gets set to nonblocking.

It's probably ssh doing this, and in obscure situations, it means log() ends
up throwing an exception and aborting the program.

Fix it so that we handle EAGAIN correctly if we get it when writing to
stderr, even though this is only really necessary due to stupidity on
(I think/hope) someone else's part.
lib/bup/helpers.py