parent: fix log message ordering

This commit is contained in:
David Wilson 2018-05-28 05:07:47 +01:00
parent a4ddef25a1
commit 469bde63c2
1 changed files with 1 additions and 1 deletions

View File

@ -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