From 18b5263db7c102bf527e5f287867ac56b4acce09 Mon Sep 17 00:00:00 2001 From: Avery Pennarun Date: Fri, 10 Dec 2010 05:19:49 -0800 Subject: [PATCH] jwack: fix a typo in the "wrong number of tokens on exit" error. Not that we ever see that error, except when I'm screwing around. --- jwack.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jwack.py b/jwack.py index 73990d0..797b3bd 100644 --- a/jwack.py +++ b/jwack.py @@ -171,8 +171,8 @@ def wait_all(): bb += b if not b: break if len(bb) != _toplevel-1: - raise Exception('on exit: expected %d tokens; found only %d' - % (_toplevel-1, len(b))) + raise Exception('on exit: expected %d tokens; found only %r' + % (_toplevel-1, len(bb))) os.write(_fds[1], bb)