From d43bea6713e63e448ddc81e3b421b9d9684c769f Mon Sep 17 00:00:00 2001 From: mdipierro Date: Sun, 25 Aug 2013 07:40:29 -0500 Subject: [PATCH] fixed typo in globals, thanks Niphlod --- VERSION | 2 +- gluon/globals.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index e0c4ffb3..22005520 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.6.0-development+timestamp.2013.08.23.14.45.37 +Version 2.6.0-development+timestamp.2013.08.25.07.39.32 diff --git a/gluon/globals.py b/gluon/globals.py index c96d1ba3..9d4e8bb9 100644 --- a/gluon/globals.py +++ b/gluon/globals.py @@ -202,7 +202,6 @@ class Request(Storage): if query_string is not None: env['QUERY_STRING'] = query_string # The same detection used by FieldStorage to detect multipart POSTs - is_multipart = dpost.type[:10] == 'multipart/' body.seek(0) def listify(a): @@ -1015,7 +1014,7 @@ class Session(Storage): if row: row.update_record(**dd) else: - record_id + record_id = None if not record_id: record_id = table.insert(**dd) response.session_id = '%s:%s' % (record_id, unique_key)