Changeset 4304 for WAeUP_SRP/trunk


Ignore:
Timestamp:
17 Jun 2009, 17:27:16 (16 years ago)
Author:
Henrik Bettermann
Message:

add logging message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/WAeUPTables.py

    r4302 r4304  
    17641764    def calculateAllCoursePositions(self,session_id=None):
    17651765        """calculate All Course Positions"""
     1766        logger = logging.getLogger('WAeUPTables.CourseResults.calculateAllCoursePositions')
     1767        logger.info('%s starts recalculation of positions in session %s' % (member,session_id))
    17661768        if session_id:
    17671769            query = Eq('session_id',session_id)
     
    17861788                self.modifyRecord(**data)
    17871789            except:
    1788                 continue                     
     1790                continue       
     1791        logger.info('recalculation finished')             
    17891792        return 'ready'   
    17901793   
Note: See TracChangeset for help on using the changeset viewer.