Ignore:
Timestamp:
09/08/07 14:49:19 (12 years ago)
Author:
lawrence
Message:

Better handling of security info in stub-b.
Bug fix following login.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/models/stubB.py

    r2756 r2791  
    185185                self.parameters=None 
    186186                self.granules=[] 
     187                self.logos=[] 
     188                 
    187189                 
    188190                try: 
     
    201203                self.abbreviation=helper.getText(self.tree,'abbreviation') 
    202204                if self.abbreviation=='': self.abbreviation=self.name[0:min(15,len(self.name))] 
     205                logos=helper.findall(self.tree,'dgMetadata/dgMetadatdataRecord/logos/logoURI') 
     206                for l in logos: 
     207                    self.logos.append((helper.find(l,'dgSimpleLink/name'), 
     208                                       helper.find(l,'dgSimpleLink/URI'))) 
    203209                 
    204210                for i in ('dgDataEntity','dgActivity','dgDataProductionTool','dgObservationStation'): 
Note: See TracChangeset for help on using the changeset viewer.