Project

General

Profile

« Previous | Next » 

Revision 57123

bug fixed

View differences:

modules/dli-service-portal/branches/3.0/eu/dnetlib/es_connector.py
266 266
        if relation is None:
267 267
            return
268 268
        relSource = relation.get('source')
269
        collectedFrom = relSource['collectedFrom']
269
        collectedFrom = relSource.get('collectedFrom',[])
270 270
        for coll in collectedFrom:
271 271
            for d in source['datasources']:
272 272
                if d['datasourceName'] == coll['provider']['name']:

Also available in: Unified diff