Ignore:
Timestamp:
20/04/12 10:40:54 (8 years ago)
Author:
mnagni
Message:

Complete - # 22434: CEDA Observation - keywords (following Gemini method)
 http://team.ceda.ac.uk/trac/ceda/ticket/22434

File:
1 edited

Legend:

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

    r8266 r8269  
    452452            try: 
    453453                linkLongName = link['href'].split('/')[-1] 
    454                 linkName = linkLongName.rsplit('__ATOM__')[1] 
     454                if '__ATOM__' in linkLongName: 
     455                    linkName = linkLongName.rsplit('__ATOM__')[1] 
     456                else: 
     457                    linkName = linkLongName 
    455458                dpt.append(linkName) 
    456459            except Exception as ex: 
Note: See TracChangeset for help on using the changeset viewer.