From 469bde63c25e0e21612094f9cc3432535dc0d11e Mon Sep 17 00:00:00 2001 From: David Wilson Date: Mon, 28 May 2018 05:07:47 +0100 Subject: [PATCH] parent: fix log message ordering --- mitogen/parent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitogen/parent.py b/mitogen/parent.py index 6f1b76f4..9436591e 100644 --- a/mitogen/parent.py +++ b/mitogen/parent.py @@ -830,7 +830,7 @@ class Stream(mitogen.core.Stream): except OSError: e = sys.exc_info()[1] if e.args[0] == errno.ECHILD: - LOG.warn('%r: waitpid(%r) produced ECHILD', self.pid, self) + LOG.warn('%r: waitpid(%r) produced ECHILD', self, self.pid) return raise