Changeset 8237


Ignore:
Timestamp:
14/04/12 09:57:10 (8 years ago)
Author:
mnagni
Message:

Small fix to # 22433: CEDA Observation - GUID
 http://team.ceda.ac.uk/trac/ceda/ticket/22433

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/MolesManager/trunk/src/libs/migration/processor/dataEntity.py

    r8236 r8237  
    128128    def process(self): 
    129129        exs = [] 
    130         #creates/retrieves CEDA_ObservationCollection    
    131         cedaObservationCollection = self._processObservationCollection() 
     130        #creates/retrieves CEDA_ObservationCollection 
     131        try: 
     132            cedaObservationCollection = self._processObservationCollection() 
     133        except Exception as ex: 
     134            exs.append(ex) 
     135            return exs 
    132136         
    133         #retrieves the associated deployment links from the dataentity 
     137        #retrieves the associated deployment links from the data_entity 
    134138        deploymentsLinks = findDeploymentsInDE(self._dataEntityMigration) 
    135139         
    136         #retreives the DataEntityMigration sorted by creation date 
     140        #retrieves the DataEntityMigration sorted by creation date 
    137141        deploymentMigrations = MigrationEPB.getAllDeploymentsMigrationByDataEntitySortedByDate( \ 
    138142                                                self._dataEntityMigration, deploymentsLinks, self.migrationSessions.migrationSession) 
Note: See TracChangeset for help on using the changeset viewer.