From 3c07a4a3633d1a9b235cfa66de91d675d49c89a8 Mon Sep 17 00:00:00 2001 From: Wesley Spikes Date: Fri, 15 Jul 2011 13:20:50 -0700 Subject: [PATCH] Update roundtrip._main -- while loop should auto-replenish all pools, and not ones so named. --- s3tests/roundtrip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s3tests/roundtrip.py b/s3tests/roundtrip.py index 3642237..c97ce12 100644 --- a/s3tests/roundtrip.py +++ b/s3tests/roundtrip.py @@ -65,7 +65,7 @@ def _main(): # Main work loop. print "Starting main work loop..." while context.running: - common.fill_pools(context.greenlet_pools.writer, context.greenlet_pools.reader) + common.fill_pools(*context.greenlet_pools.values()) time.sleep(0.1) print "We've hit duration. Time to stop!"