From 16b5cad115f93802472d0c02ee9f23aa092e51a3 Mon Sep 17 00:00:00 2001 From: Freddie Witherden Date: Sun, 14 Sep 2014 14:33:16 +0100 Subject: [PATCH] Fix broken format string in the prefork module. --- pytools/prefork.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytools/prefork.py b/pytools/prefork.py index 4f477b8..4933337 100644 --- a/pytools/prefork.py +++ b/pytools/prefork.py @@ -70,8 +70,8 @@ def _recv_packet(sock, who="Process", partner="other end"): if len(size_bytes) < size_bytes_size: from warnings import warn - warn("%s exiting upon apparent death of %" - % (who, partner)) + warn("%s exiting upon apparent death of %s" % (who, partner)) + raise SystemExit size, = unpack("I", size_bytes) -- GitLab