summaryrefslogtreecommitdiff
path: root/functionaltests/cli/v1/behaviors/acl_behaviors.py
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2020-06-16 13:55:17 +0000
committerGerrit Code Review <review@openstack.org>2020-06-16 13:55:18 +0000
commitad2b85b4ed34add6afde47358ebd665a34c02c2a (patch)
tree87801fd1d3d54fb1e593fca580458a0ef39b7014 /functionaltests/cli/v1/behaviors/acl_behaviors.py
parentdf7dbabb7dd63bc8066d9cc89955a510bf63b04d (diff)
parenta9913ea35fee4a8c2321718c9217047950e61517 (diff)
downloadpython-barbicanclient-ad2b85b4ed34add6afde47358ebd665a34c02c2a.tar.gz
Merge "Update hacking for Python3"
Diffstat (limited to 'functionaltests/cli/v1/behaviors/acl_behaviors.py')
-rw-r--r--functionaltests/cli/v1/behaviors/acl_behaviors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/functionaltests/cli/v1/behaviors/acl_behaviors.py b/functionaltests/cli/v1/behaviors/acl_behaviors.py
index a9fc506..25478fd 100644
--- a/functionaltests/cli/v1/behaviors/acl_behaviors.py
+++ b/functionaltests/cli/v1/behaviors/acl_behaviors.py
@@ -48,7 +48,7 @@ class ACLBehaviors(base_behaviors.BaseBehaviors):
argv.extend(['--project-access'])
else:
argv.extend(['--no-project-access'])
- if operation_type and operation_type is not 'read':
+ if operation_type and operation_type != 'read':
argv.extend([self._args_map_list['operation_type'][index],
operation_type])