Sophie

Sophie

distrib > Mageia > 8 > i586 > media > core-updates_testing-src > by-pkgid > d071682b5677d767c06b9b1903b5941b > files > 1

getmail-6.12-1.1.mga8.src.rpm

From b2d82a41ae73476c42a27f9c6764c0415bca5833 Mon Sep 17 00:00:00 2001
From: Roland Puntaier <roland.puntaier@gmail.com>
Date: Wed, 6 Jan 2021 13:18:27 +0100
Subject: [PATCH] fix #59 traceback if child takes longer than 3s

---
 getmailcore/baseclasses.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/getmailcore/baseclasses.py b/getmailcore/baseclasses.py
index 208a4b0..4c35333 100755
--- a/getmailcore/baseclasses.py
+++ b/getmailcore/baseclasses.py
@@ -427,6 +427,7 @@ def _wait_for_child(self, childpid):
         if not self.__child_exited.wait(3):
             self.log.warning('stopped waiting for child %d' % childpid)
             self.__child_pid = childpid
+            self.__child_status = os.WCONTINUED
         self.__child_exited.release()
         if self.__child_pid != childpid:
             #self.log.error('got child pid %d, not %d' % (pid, childpid))