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
--- 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)