From: Yehuda Sadeh Date: Tue, 30 Apr 2013 14:06:03 +0000 (-0700) Subject: swift, s3readwrite: add missing yield X-Git-Tag: 1.1.0~2167^2~9 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=57404b6a7b938eda33f90069d42613393c574592;p=teuthology.git swift, s3readwrite: add missing yield Signed-off-by: Yehuda Sadeh --- diff --git a/teuthology/task/s3readwrite.py b/teuthology/task/s3readwrite.py index fec46e9b6..aa9c41902 100644 --- a/teuthology/task/s3readwrite.py +++ b/teuthology/task/s3readwrite.py @@ -152,6 +152,7 @@ def cleanup_tests(ctx, config): '{tdir}/s3-tests'.format(tdir=teuthology.get_testdir(ctx)), ], ) + yield @contextlib.contextmanager def task(ctx, config): diff --git a/teuthology/task/swift.py b/teuthology/task/swift.py index f832ca79c..7692a5d03 100644 --- a/teuthology/task/swift.py +++ b/teuthology/task/swift.py @@ -138,6 +138,7 @@ def cleanup_tests(ctx, config): '{tdir}/swift'.format(tdir=testdir), ], ) + yield @contextlib.contextmanager def task(ctx, config):