Loading cloudcontrol/node/jobs.py +4 −0 Original line number Diff line number Diff line Loading @@ -285,6 +285,10 @@ class ForkedJob(object): try: os.close(fd) except OSError as exc: if exc.errno == errno.EBADF: # FIXME this is weird but it seems to happen sometimes logger.debug('Error while closing fd in parent, EBADF') continue logger.error('Error while closing fds in parent: %s', os.strerror(exc.errno)) raise Loading Loading
cloudcontrol/node/jobs.py +4 −0 Original line number Diff line number Diff line Loading @@ -285,6 +285,10 @@ class ForkedJob(object): try: os.close(fd) except OSError as exc: if exc.errno == errno.EBADF: # FIXME this is weird but it seems to happen sometimes logger.debug('Error while closing fd in parent, EBADF') continue logger.error('Error while closing fds in parent: %s', os.strerror(exc.errno)) raise Loading