Changeset 8351 for mauRepo


Ignore:
Timestamp:
15/06/12 15:57:58 (7 years ago)
Author:
mnagni
Message:

remove the SQL echo

Location:
mauRepo/MolesManager/trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/MolesManager/trunk/src/MolesManager/molesSessionMiddleware.py

    r8337 r8351  
    3030    def _doInitialization(self): 
    3131 
    32         infoDB = DbManager(INFO_DB_CONNECTION, sql_echo=True) 
     32        infoDB = DbManager(INFO_DB_CONNECTION) 
    3333        MolesSessionMiddleware._infodbEPBFactory = InfodbEPBFactory(infoDB) 
    3434        #InfodbEPB.overrrideDBManager(infoDB) 
    3535            
    36         migrationDB = DbManager(MIGRATION_DB_CONNECTION, MIGRATION_DB_SCRIPT, sql_echo=True) 
     36        migrationDB = DbManager(MIGRATION_DB_CONNECTION, MIGRATION_DB_SCRIPT) 
    3737        MolesSessionMiddleware._migrationEPBFactory = MigrationEPBFactory(migrationDB)                
    3838 
    39         molesDB = DbManager(MOLES3_DB_CONNECTION, MOLES3_DB_SCRIPT, session_event_manager=EVENTS_DB, sql_echo=True) 
     39        molesDB = DbManager(MOLES3_DB_CONNECTION, MOLES3_DB_SCRIPT, session_event_manager=EVENTS_DB) 
    4040        MolesSessionMiddleware._moles3EPBFactory = Moles3EPBFactory(molesDB) 
    4141         
  • mauRepo/MolesManager/trunk/src/libs/migration/processor/dataEntity.py

    r8350 r8351  
    106106        ceda_observationCollection.publicationState = MO_PublicationStateValue.cl_working 
    107107                   
    108         EPBRepo.moles3EPB.persistInstance(ceda_observationCollection) 
    109          
     108        EPBRepo.moles3EPB.persistInstance(ceda_observationCollection)         
    110109        EPBRepo.migrationEPB.updateMigrationObject(self._dataEntityMigration, {'ceda_observation_coll_id': ceda_observationCollection.id}) 
    111110 
  • mauRepo/MolesManager/trunk/src/libs/migration/tests/migrationprocess.py

    r8337 r8351  
    4242        EPBRepo.migrationEPB = migrationFactory.createEPB() 
    4343        EPBRepo.infodbEPB = infoFactory.createEPB() 
    44          
     44        ''' 
    4545        lr = LoadResources() 
    4646        ex = lr.process() 
    4747        for e in ex: 
    4848            print e 
    49  
     49        ''' 
    5050    def testMigrationProcess(self):         
    5151        mp = MigrationProcess() 
Note: See TracChangeset for help on using the changeset viewer.