Merge "Fix incorrect kwarg in auth middleware example"

This commit is contained in:
Jenkins 2015-12-18 22:04:46 +00:00 committed by Gerrit Code Review
commit dafeea6322
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@ folks a start on their own code if they want to use repoze.what::
expiration = float(resp.getheader('x-auth-ttl'))
user = resp.getheader('x-auth-user')
memcache_client.set(key, (time(), expiration, user),
timeout=expiration)
time=expiration)
return user
return None