We had several if statements checking the value of a fd. This is unsafe, since valid fds might be zero. We should check for not None instead.
1 file changed