Changeset 8263 for mauRepo/MolesManager
- Timestamp:
- 19/04/12 15:46:26 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mauRepo/MolesManager/trunk/src/libs/migration/processor/deployment.py
r8259 r8263 302 302 infodb_de = InfodbEPB.getCedaInfoApp_dataentityByDE_ID(dataentity_id) 303 303 i_logical_path = '/dummy' 304 if infodb_de['logical_path']: 304 if infodb_de is None: 305 i_logical_path = dwn['href'][dwn['href'].index('/browse/') + 7:] 306 307 if infodb_de and infodb_de.has_key('logical_path'): 305 308 i_logical_path = infodb_de['logical_path'] 306 309 307 310 i_category = ceda_curationvalue.CEDA_CurationValue.cl_a 308 if infodb_de ['category']:311 if infodb_de and infodb_de.has_key('category'): 309 312 i_category = CEDA_CurationValue.from_string(infodb_de['category'].lower()) #self._getcurationcategory(infodb_de['category']) 310 313 observation.result = createCEDA_Result(i_category, i_logical_path, source = [i_source]) … … 328 331 329 332 def assignDOI(self, observation, doi): 330 if doi :333 if doi and doi.has_key('href'): 331 334 doi = doi['href'][4:] 332 335 py_date = None
Note: See TracChangeset
for help on using the changeset viewer.