Changeset 3592

Show
Ignore:
Timestamp:
05/04/08 20:00:28 (8 months ago)
Author:
coderanger
Message:

Okay, working against 0.11-stable r7002 with the patch from ticket 7185 as amended in the tickets.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • permredirectplugin/0.11/permredirect/filter.py

    r3591 r3592  
    1919             
    2020    def post_process_request(self, req, template, data, content_type):     
    21         self.log.debug('PermRedirect: Got some page') 
    2221        if template is None: 
    2322            self.log.debug('PermRedirect: Got an error page') 
     
    2625                # Already logged in 
    2726                return template, data, content_type 
    28                  
     27             
     28            exctype, exc = sys.exc_info()[0:2] 
    2929            if issubclass(exctype, PermissionError): 
    3030                req.redirect(req.href.login())