From ecbd41808adf6876d98e5dc7ca96b7159130317e Mon Sep 17 00:00:00 2001 From: Jeremy Carbaugh Date: Wed, 14 Sep 2011 14:21:04 -0400 Subject: [PATCH] add doc for CountEmitter 'of' parameter --- saucebrush/emitters.py | 1 + 1 file changed, 1 insertion(+) diff --git a/saucebrush/emitters.py b/saucebrush/emitters.py index 1815345..8460984 100644 --- a/saucebrush/emitters.py +++ b/saucebrush/emitters.py @@ -59,6 +59,7 @@ class CountEmitter(Emitter): CountEmitter() by default writes to stdout. CountEmitter(outfile=open('text', 'w')) would print to a file name test. CountEmitter(every=1000000) would write the count every 1,000,000 records. + CountEmitter(every=100, of=2000) would write " of 2000" every 100 records. """ def __init__(self, every=1000, of=None, outfile=None, format=None):