Change Cache to not use *args in its interface

This commit is contained in:
Erik Johnston 2015-08-07 11:52:21 +01:00
parent 63b1eaf32c
commit 20addfa358
11 changed files with 69 additions and 67 deletions

View file

@ -131,7 +131,7 @@ class RegistrationStore(SQLBaseStore):
user_id
)
for r in rows:
self.get_user_by_token.invalidate(r)
self.get_user_by_token.invalidate((r,))
@cached()
def get_user_by_token(self, token):