Changeset 470392 in indico


Ignore:
Timestamp:
02/13/12 14:30:52 (16 months ago)
Author:
Pedro Ferreira <jose.pedro.ferreira@…>
Branches:
master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
Children:
4fd80c
Parents:
2e0cb9
Message:

[FIX] Order of migration tasks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bin/migration/migrate_0.97_0.98.py

    r9bb382 r470392  
    124124 
    125125 
    126 @since('0.97', always=True) 
    127 def pluginReload(dbi, withRBDB, prevVersion): 
    128     """ 
    129     Reloading all plugins 
    130     """ 
    131     PluginsHolder().reloadAllPlugins() 
    132     dbi.commit() 
    133     if withRBDB: 
    134         DALManager.commit() 
    135  
    136  
    137126@since('0.98b2') 
    138127def pluginMigration(dbi, withRBDB, prevVersion): 
     
    190179        if withRBDB: 
    191180            DALManager.commit() 
     181 
     182 
     183@since('0.97', always=True) 
     184def pluginReload(dbi, withRBDB, prevVersion): 
     185    """ 
     186    Reloading all plugins 
     187    """ 
     188    PluginsHolder().reloadAllPlugins() 
     189    dbi.commit() 
     190    if withRBDB: 
     191        DALManager.commit() 
    192192 
    193193 
Note: See TracChangeset for help on using the changeset viewer.