]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
parallel: obey iterator protocol
authorJosh Durgin <josh.durgin@dreamhost.com>
Wed, 25 Apr 2012 00:47:51 +0000 (17:47 -0700)
committerJosh Durgin <josh.durgin@dreamhost.com>
Wed, 25 Apr 2012 00:48:05 +0000 (17:48 -0700)
commitb32b693ab201068f785f64877d02a3eabe01d2e8
treeea35fdaa096c8cf109575be505447f65b4f3e156
parenta11b69fd4cf281d1b21bc82e0188e2a36754cf0a
parallel: obey iterator protocol

Once it raises StopIteration, it must continue to do so on subsequent calls to next().
teuthology/parallel.py