~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/base/xhtml.py

  • Committer: William Grant
  • Date: 2009-07-06 09:30:39 UTC
  • mto: (1294.4.2 ui-the-third)
  • mto: This revision was merged to the branch mainline in revision 1353.
  • Revision ID: grantw@unimelb.edu.au-20090706093039-e933t7q0mtj6v20j
Fix XHTMLUnauthorizedView to take the extra breadcrumb-related arg.

Show diffs side-by-side

added added

removed removed

Lines of Context:
219
219
class XHTMLUnauthorizedView(XHTMLErrorView):
220
220
    template = 'xhtmlunauthorized.html'
221
221
 
222
 
    def __init__(self, req, exception):
223
 
        super(XHTMLUnauthorizedView, self).__init__(req, exception)
 
222
    def __init__(self, req, exception, lastobj):
 
223
        super(XHTMLUnauthorizedView, self).__init__(req, exception, lastobj)
224
224
 
225
225
        if req.user is None:
226
226
            # Not logged in. Redirect to login page.