Changeset 2821


Ignore:
Timestamp:
17/08/07 09:19:03 (12 years ago)
Author:
domlowe
Message:

correct redirect of access denied message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers/csml_wcs.py

    r2810 r2821  
    165165        #get doc from cache or disk: 
    166166        try: 
    167             rstatus,c.dataset=interface.GetParsedCSML(uri) 
    168             if not rstatus: raise ValueError(c.dataset) 
     167            rstatus,dataset=interface.GetParsedCSML(uri)                 
     168            if not rstatus:  
     169                c.xml='<div class="error">%s</div>'%dataset 
     170                resp=render_response('error') 
     171                return resp 
    169172     
    170173            if type(c.dataset) is str: 
Note: See TracChangeset for help on using the changeset viewer.