From 955daf92910e81252a3ac0e49ce598f236e206f2 Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Mon, 4 May 2015 14:22:59 -0700 Subject: [PATCH] squash: use != not is not in radosbench (cherry picked from commit 91bc0e91864903f6635879432e6dc7a0b36c76c2) --- tasks/radosbench.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/radosbench.py b/tasks/radosbench.py index 29ec881e1774e..af976fd557a31 100644 --- a/tasks/radosbench.py +++ b/tasks/radosbench.py @@ -64,7 +64,7 @@ def task(ctx, config): if config.get('create_pool', True): if config.get('pool'): pool = config.get('pool') - if pool is not 'data': + if pool != 'data': ctx.manager.create_pool(pool, erasure_code_profile_name=profile_name) else: pool = ctx.manager.create_pool_with_unique_name(erasure_code_profile_name=profile_name) -- 2.39.5