Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
cunla committed Dec 22, 2024
1 parent 57b978b commit 3653bdc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fakeredis/model/_acl.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ def _get_keys(self, fields: List[bytes]) -> List[bytes]:
return fields[first_key : last_key + 1 : step]

def keys_not_allowed(self, fields: List[bytes]) -> List[bytes]:
if len(self._key_patterns) == 0:
return []
keys = self._get_keys(fields)
res = set()
for pat in self._key_patterns:
Expand Down

0 comments on commit 3653bdc

Please sign in to comment.