Changeset 3833
- Timestamp:
- 01/05/08 11:58:40 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI05-delivery/ows_framework/trunk/ows_server/ows_server/lib/ndgInterface.py
r3770 r3833 108 108 #unsecured discovery documents, these are called directly 109 109 #in the retrieve controller! 110 111 # Fix call to ndgRetrieve so that it sets the discovery flag explicitly 112 # rather than defaulting to 1 113 # 114 # PJK 01/05/2008 115 standaloneDiscovery = \ 116 request.environ['ndgConfig'].config.getboolean('DISCOVERY', 117 'standalone') 110 118 111 119 try: … … 124 132 if outputSchema: 125 133 #bypass the cache ... 126 status,xmlh=ndgRetrieve(ndgO,request.environ['ndgConfig'],logger,outputSchema) 134 status,xmlh=ndgRetrieve(ndgO, 135 request.environ['ndgConfig'], 136 logger, 137 outputSchema, 138 discovery=standaloneDiscovery) 127 139 else: 128 140 try: … … 135 147 status,xmlH=self.__getLocal(uri) 136 148 else: 137 status,xmlh=ndgRetrieve(ndgO,request.environ['ndgConfig'],logger,outputSchema) 149 status,xmlh=ndgRetrieve(ndgO, 150 request.environ['ndgConfig'], 151 logger, 152 outputSchema, 153 discovery=standaloneDiscovery) 138 154 if status: self.XMLHCache[uri]=xmlh 139 155
Note: See TracChangeset
for help on using the changeset viewer.