# HG changeset patch
# User Sylvain Thénault <sylvain.thenault@logilab.fr>
# Date 1317104276 -7200
# Node ID 0d0b8b3a015decc2b498e76c229565f04794509a
# Parent  1a1e04163cde4b1d1b53cf79b86740016cc9b4f5
[req cookie] fix name error

diff -r 1a1e04163cde -r 0d0b8b3a015d web/request.py
--- a/web/request.py	Mon Sep 26 19:45:51 2011 +0200
+++ b/web/request.py	Tue Sep 27 08:17:56 2011 +0200
@@ -557,7 +557,7 @@
             warn('[3.13] remove_cookie now take only a name as argument',
                  DeprecationWarning, stacklevel=2)
             name = bwcompat
-        self.set_cookie(key, '', maxage=0, expires=date(1970, 1, 1))
+        self.set_cookie(name, '', maxage=0, expires=date(1970, 1, 1))
 
     def set_content_type(self, content_type, filename=None, encoding=None):
         """set output content type for this request. An optional filename