diff options
author | Andreas Jaeger <aj@suse.com> | 2020-03-28 15:30:28 +0100 |
---|---|---|
committer | Andreas Jaeger <aj@suse.com> | 2020-06-09 15:34:39 +0200 |
commit | a9913ea35fee4a8c2321718c9217047950e61517 (patch) | |
tree | fa2acbbac58622993b4d193687d989599a957839 /functionaltests/cli/v1/behaviors/acl_behaviors.py | |
parent | 69a14917e5f98f82dd1f4cdf33a49e6f3f708c13 (diff) | |
download | python-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.py | 2 |
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]) |