project/scipycon/utils.py
changeset 96 178b89a3ca4f
parent 94 87e77aa18610
--- a/project/scipycon/utils.py	Tue Jul 13 19:57:37 2010 +0530
+++ b/project/scipycon/utils.py	Tue Jul 13 23:40:34 2010 +0530
@@ -8,7 +8,7 @@
 #django
 from django.http import HttpResponseRedirect
 
-def kiwipycon_quote(string, encoding="utf-8"):
+def scipycon_quote(string, encoding="utf-8"):
     """Encodes string to encoding before quoting.
     """
     return urllib.quote(string.encode(encoding))
@@ -26,7 +26,7 @@
         datetime.timedelta(seconds=max_age), "%a, %d-%b-%Y %H:%M:%S GMT")
 
     response = HttpResponseRedirect(url)
-    response.set_cookie("message", kiwipycon_quote(msg), max_age=max_age, expires=expires)
+    response.set_cookie("message", scipycon_quote(msg), max_age=max_age, expires=expires)
 
     return response