summaryrefslogtreecommitdiff
path: root/functionaltests/cli/v1/behaviors/acl_behaviors.py
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2020-03-28 15:30:28 +0100
committerAndreas Jaeger <aj@suse.com>2020-06-09 15:34:39 +0200
commita9913ea35fee4a8c2321718c9217047950e61517 (patch)
treefa2acbbac58622993b4d193687d989599a957839 /functionaltests/cli/v1/behaviors/acl_behaviors.py
parent69a14917e5f98f82dd1f4cdf33a49e6f3f708c13 (diff)
downloadpython-barbicanclient-a9913ea35fee4a8c2321718c9217047950e61517.tar.gz
Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.1.0 which supports Python 3. Fix problems found. Change-Id: I54f9f7c5f6ee87ee886658388541f45e23c7546d
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])