Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkonie committed Jul 15, 2024
1 parent b6c938b commit e776145
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion projectroles/remote_projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,8 @@ def _is_local_user(user_data):
:return: Boolean
"""
return (
SYSTEM_USER_GROUP in user_data['groups'] or not user_data['groups']
not user_data.get('groups')
or SYSTEM_USER_GROUP in user_data['groups']
)

@staticmethod
Expand Down

0 comments on commit e776145

Please sign in to comment.