From bdbc0686fe1db73949158e607406a544ec711e48 Mon Sep 17 00:00:00 2001 From: Vo Minh Thu Date: Fri, 6 Jan 2012 10:20:36 +0100 Subject: [PATCH] [FIX] openerp.wsgi: typo (unbound variable). lp bug: https://launchpad.net/bugs/906115 fixed bzr revid: vmt@openerp.com-20120106092036-8slw0rhgudgphlau --- openerp/wsgi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openerp/wsgi.py b/openerp/wsgi.py index be7d2bfbdc1..bb8cfc9a781 100644 --- a/openerp/wsgi.py +++ b/openerp/wsgi.py @@ -240,9 +240,9 @@ def return_options(environ, start_response): # Microsoft specific header, see # http://www.ibm.com/developerworks/rational/library/2089.html if 'Microsoft' in environ.get('User-Agent', ''): - option = [('MS-Author-Via', 'DAV')] + options = [('MS-Author-Via', 'DAV')] else: - option = [] + options = [] options += [('DAV', '1 2'), ('Allow', 'GET HEAD PROPFIND OPTIONS REPORT')] start_response("200 OK", [('Content-Length', str(0))] + options) return []