Fixed a bug in access.py.
authorLennard de Rijk <ljvderijk@gmail.com>
Sun, 25 Jan 2009 21:52:35 +0000
changeset 992 e9f7d8e96b20
parent 991 becede26c37f
child 993 99c46908b4b6
Fixed a bug in access.py. Context was not assigned to a variable during a redesign of access.py. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
app/soc/views/helper/access.py
--- a/app/soc/views/helper/access.py	Sun Jan 25 21:03:12 2009 +0000
+++ b/app/soc/views/helper/access.py	Sun Jan 25 21:52:35 2009 +0000
@@ -129,7 +129,7 @@
 
   import soc.views.helper.responses
 
-  kwargs.get('context', {})
+  context = kwargs.get('context', {})
   context['title'] = 'Access denied'
 
   raise out_of_band.AccessViolation(DEF_PAGE_DENIED_MSG, context=context)