Changeset 8252


Ignore:
Timestamp:
18/04/12 14:12:25 (8 years ago)
Author:
mnagni
Message:

Complete - # 22386: CEDA Observation - title
 http://team.ceda.ac.uk/trac/ceda/ticket/22386

File:
1 edited

Legend:

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

    r8250 r8252  
    198198    def _assignTitle(self, observation):        
    199199        doc_title = extractTitle(self._deploymentMigration) 
     200        if doc_title is None: 
     201            doc_title = extractTitle(self._dataEntityMigration) 
    200202         
    201203        if doc_title.startswith('deployment_') or doc_title.startswith('Deployment_'): 
     
    241243                        doc_title += ' ' + projSubType 
    242244                                                        
    243         else: 
    244             doc_title = extractTitle(self._dataEntityMigration) 
     245        else:              
    245246            if doc_title[0:10] != 'Data from' : 
    246247                doc_title = "Data from " + doc_title             
Note: See TracChangeset for help on using the changeset viewer.