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.
This commit is contained in:
Avery Pennarun 2010-12-10 05:19:49 -08:00
commit 18b5263db7

View file

@ -171,8 +171,8 @@ def wait_all():
bb += b bb += b
if not b: break if not b: break
if len(bb) != _toplevel-1: if len(bb) != _toplevel-1:
raise Exception('on exit: expected %d tokens; found only %d' raise Exception('on exit: expected %d tokens; found only %r'
% (_toplevel-1, len(b))) % (_toplevel-1, len(bb)))
os.write(_fds[1], bb) os.write(_fds[1], bb)