Ignore:
Timestamp:
11/06/12 12:26:21 (9 years ago)
Author:
mnagni
Message:

fixed a bug in data_entity loop

File:
1 edited

Legend:

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

    r8330 r8333  
    7474            ret = self._session.query(DataEntityMigration).filter(*[EPB.buildFilter('doc_name', migrationObject.doc_name)]).first()                
    7575        else: #then process all the DataEntities 
    76             ret = EPB.getAllObjects(DataEntityMigration, self._session)                   
     76            res = self._session.query(DataEntityMigration).all() 
     77            ret = [] 
     78            for item in res: 
     79                ret.append(item)               
    7780        return ret 
    7881      
Note: See TracChangeset for help on using the changeset viewer.