Skip to content
This repository has been archived by the owner on Mar 28, 2019. It is now read-only.

Commit

Permalink
@Natim review
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem committed Feb 10, 2016
1 parent 964c549 commit 18f236e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cliquet/permission/redis.py
Expand Up @@ -59,7 +59,7 @@ def remove_principal(self, principal):
with self._client.pipeline() as pipe:
user_keys = self._client.scan_iter(match='user:*')
for user_key in user_keys:
self._client.srem(user_key, principal)
pipe.srem(user_key, principal)
pipe.execute()

@wrap_redis_error
Expand Down

0 comments on commit 18f236e

Please sign in to comment.