diff MoinMoin/support/werkzeug/contrib/securecookie.py @ 6129:7f12cf241d5e

update werkzeug to 0.12.1, update CHANGES
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 11 Apr 2017 22:42:23 +0200
parents 9f12f41504fc
children
line wrap: on
line diff
--- a/MoinMoin/support/werkzeug/contrib/securecookie.py	Tue Nov 01 17:56:32 2016 +0100
+++ b/MoinMoin/support/werkzeug/contrib/securecookie.py	Tue Apr 11 22:42:23 2017 +0200
@@ -57,7 +57,7 @@
                 return SecureCookie.unserialize(data, SECRET_KEY)
 
         def application(environ, start_response):
-            request = Request(environ, start_response)
+            request = Request(environ)
 
             # get a response object here
             response = ...
@@ -77,7 +77,7 @@
                 return SecureCookie.load_cookie(self, secret_key=COOKIE_SECRET)
 
         def application(environ, start_response):
-            request = Request(environ, start_response)
+            request = Request(environ)
 
             # get a response object here
             response = ...