changeset 3646:68da15c7eeec

session._set.cookie: lifetime needs to be integer bug fix for 1.7NoSessionCookieCreatedOnKonqueror
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Mon, 26 May 2008 17:41:41 +0200
parents 8fbdd3667488
children b3747c0e81ae
files MoinMoin/session.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/session.py	Sun May 25 23:51:52 2008 +0200
+++ b/MoinMoin/session.py	Mon May 26 17:41:41 2008 +0200
@@ -322,7 +322,7 @@
 
     def _set_cookie(self, request, cookie_string, expires):
         """ Set cookie, raw helper. """
-        lifetime = expires - time.time()
+        lifetime = int(expires - time.time())
         cookie = self._make_cookie(request, self.cookie_name, cookie_string,
                                    lifetime, expires)
         # Set cookie