From: Samuel Just Date: Mon, 4 May 2015 21:22:59 +0000 (-0700) Subject: squash: use != not is not in radosbench X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b3cbfe60d206f3c68591696ba4dead627f739d6f;p=ceph.git squash: use != not is not in radosbench (cherry picked from commit 91bc0e91864903f6635879432e6dc7a0b36c76c2) Conflicts: tasks/radosbench.py the prototype of the functions changed but not the logic --- diff --git a/tasks/radosbench.py b/tasks/radosbench.py index d260ad81500a..1c5bd5486abf 100644 --- a/tasks/radosbench.py +++ b/tasks/radosbench.py @@ -52,7 +52,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, ec_pool=config.get('ec_pool', False)) else: pool = ctx.manager.create_pool_with_unique_name(ec_pool=config.get('ec_pool', False))