Skip to content

Commit

Permalink
Remove unnecessary signed_serialize parameter.
Browse files Browse the repository at this point in the history
It was already accessible as an import.
  • Loading branch information
whiteroses committed May 25, 2014
1 parent fc00c40 commit 1455752
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pyramid_redis_sessions/__init__.py
Expand Up @@ -223,7 +223,6 @@ def factory(request, new_session_id=get_unique_session_id):
cookie_name=cookie_name,
cookie_secure=cookie_secure,
secret=secret,
signed_serialize=signed_serialize,
)
delete_cookie = functools.partial(
_delete_cookie,
Expand Down Expand Up @@ -270,7 +269,6 @@ def _set_cookie(
cookie_name,
cookie_secure,
secret,
signed_serialize,
):
cookieval = signed_serialize(request.session.session_id, secret)
response.set_cookie(
Expand Down

0 comments on commit 1455752

Please sign in to comment.