Changeset 514

Show
Ignore:
Timestamp:
08/05/09 15:39:10 (3 years ago)
Author:
david
Message:

edits and adding openocw migration

Location:
enpraxis.educommons/trunk/enpraxis/educommons
Files:
1 added
2 modified

Legend:

Unmodified
Added
Removed
  • enpraxis.educommons/trunk/enpraxis/educommons/configure.zcml

    r506 r514  
    3333     profile="enpraxis.educommons:default" /> 
    3434 
     35  <genericsetup:upgradeStep 
     36     title="Migration :: 3.1.1 to 3.2.1" 
     37     description="Migrates eduCommons from version 3.1.1 to 3.2.1" 
     38     source="3.1.1" 
     39     destination="3.2.1" 
     40     handler=".upgrades.openocw.v3_1_1_to_3_2_1.migrate" 
     41     sortkey="1" 
     42     profile="enpraxis.educommons:openocw" /> 
    3543 
    3644  <genericsetup:upgradeStep 
  • enpraxis.educommons/trunk/enpraxis/educommons/upgrades/v3_1_1_to_3_2_1.py

    r513 r514  
    109109        new_custom = portal.portal_skins.custom         
    110110        new_custom.base_properties = old_custom.base_properties         
     111         
    111112        print >> out, '  <li>Migrated theme</li>\n' 
    112113         
     
    223224        for role in roles:             
    224225            if role == 'Administrator': 
    225                 roles[index] == 'Manager' 
    226                 update = 1 
     226                roles[index] = 'Manager' 
     227                update = 1                 
    227228            index += 1 
    228229        if update == 1: