diff options
author | Tres Seaver <tseaver@palladion.com> | 2021-06-16 13:45:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-16 13:45:41 -0400 |
commit | fbf447cf25468dfa7e99283ce66a9c10daacc488 (patch) | |
tree | 3f6725ebb6ecf81dc502cdf71ec2da174076e32a /google/api_core/iam.py | |
parent | 11032cf08ecc16dd252a6cda8b33b0b28ec4f4ba (diff) | |
download | python-api-core-fbf447cf25468dfa7e99283ce66a9c10daacc488.tar.gz |
chore: blacken (#206)
Also, fix 2.7 tests broken by release of 'googleapis-common-protos 1.53.0',
which dropped Python 2.7 support.
Closes #169
Diffstat (limited to 'google/api_core/iam.py')
-rw-r--r-- | google/api_core/iam.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/google/api_core/iam.py b/google/api_core/iam.py index c498c68..fc35469 100644 --- a/google/api_core/iam.py +++ b/google/api_core/iam.py @@ -450,10 +450,7 @@ class Policy(collections_abc.MutableMapping): for binding in self._bindings: members = binding.get("members") if members: - new_binding = { - "role": binding["role"], - "members": sorted(members) - } + new_binding = {"role": binding["role"], "members": sorted(members)} condition = binding.get("condition") if condition: new_binding["condition"] = condition |