Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 12, 2023
1 parent bda8ece commit bece7b8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions oauthenticator/openshift.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,7 @@ async def user_is_authorized(self, auth_model):
all_allowed_groups = self.allowed_groups
if self.admin_groups:
all_allowed_groups = all_allowed_groups.union(self.admin_groups)
if not self.user_groups_in_allowed_groups(
user_groups, all_allowed_groups
):
if not self.user_groups_in_allowed_groups(user_groups, all_allowed_groups):
self.log.warning(msg)
return False

Expand Down

0 comments on commit bece7b8

Please sign in to comment.