Changeset 4169 for TI05-delivery


Ignore:
Timestamp:
03/09/08 14:23:44 (11 years ago)
Author:
cbyrom
Message:

Fix small typo bug + add extra checking and logging + remove unused import.

Location:
TI05-delivery/ows_framework/trunk/ows_server/ows_server/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/lib/ndgInterface.py

    r3901 r4169  
    101101                - a xmlhandler object cache, and 
    102102                - a parsed CSML object cache.''' 
    103                  
     103 
    104104        self.CSMLDataCache=CSMLExtractCache( 
    105105                request.environ['paste.config']['app_conf']['tmp_dir'],max_size=10) 
     
    117117        #in the retrieve controller! 
    118118 
     119        logging.debug("Getting XML from uri, '%s' (outputschema: '%s')" %(uri, outputSchema)) 
    119120        try: 
    120121            ndgO=ndgObject(uri) 
     
    122123        except ValueError: 
    123124            ''' It's a local file not an ndg identifier ''' 
    124             ndg0=uri 
     125            ndgO=uri 
    125126            localFile=1 
    126127         
    127         if 'ndgCleared' in session: 
     128        if session and 'ndgCleared' in session: 
    128129            cleared=session['ndgCleared'] 
    129130        else: 
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/lib/wmc_util.py

    r3747 r4169  
    1010""" 
    1111from ows_server.lib.base import * 
    12 from ows_server.lib.ndgInterface import interface 
    1312from ndgUtils.DocumentRetrieve import genericHTTP 
    1413from ndgUtils.ETxmlView import loadET,et2text, nsdumb 
Note: See TracChangeset for help on using the changeset viewer.