diff options
author | Zuul <zuul@review.opendev.org> | 2020-06-16 13:55:17 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2020-06-16 13:55:18 +0000 |
commit | ad2b85b4ed34add6afde47358ebd665a34c02c2a (patch) | |
tree | 87801fd1d3d54fb1e593fca580458a0ef39b7014 /barbicanclient/barbican_cli/v1/containers.py | |
parent | df7dbabb7dd63bc8066d9cc89955a510bf63b04d (diff) | |
parent | a9913ea35fee4a8c2321718c9217047950e61517 (diff) | |
download | python-barbicanclient-ad2b85b4ed34add6afde47358ebd665a34c02c2a.tar.gz |
Merge "Update hacking for Python3"
Diffstat (limited to 'barbicanclient/barbican_cli/v1/containers.py')
-rw-r--r-- | barbicanclient/barbican_cli/v1/containers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/barbicanclient/barbican_cli/v1/containers.py b/barbicanclient/barbican_cli/v1/containers.py index 1da349b..ccb541b 100644 --- a/barbicanclient/barbican_cli/v1/containers.py +++ b/barbicanclient/barbican_cli/v1/containers.py @@ -135,5 +135,5 @@ class CreateContainer(show.ShowOne): raise ValueError("Must supply at least one secret.") return dict( (s.split('=')[0], s.split('=')[1]) - for s in secrets if s.count('=') is 1 + for s in secrets if s.count('=') == 1 ) |