Changeset 3107 for WAeUP_SRP


Ignore:
Timestamp:
5 Feb 2008, 07:50:16 (17 years ago)
Author:
joachim
Message:

should fix the impossible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_utilities/ti_71fc_resolve.py

    r3098 r3107  
    6464        if hasattr(study_course,level):
    6565            new_level = "%d" % (int(level) + 90)
     66            if hasattr(study_course,new_level):
     67                logger.info('%s new level %s already exists' % (student_id,new_level))
     68                continue
    6669            study_course.manage_renameObjects((level,),(new_level,))
    6770            logger.info('%s renamed level from %s to %s' % (student_id,level,new_level))
Note: See TracChangeset for help on using the changeset viewer.