Ignore:
Timestamp:
19 Mar 2007, 21:45:44 (18 years ago)
Author:
joachim
Message:

merged changes from trunk to joachim-event-branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/branches/joachim-event-branch/ScratchCards.py

    r1395 r1596  
    3737        """import PinBatch"""
    3838        name = "PINS"
    39         logger = logging.getLogger('Import.%s' % name)
     39        logger = logging.getLogger('Students.ScratchCardBatchesFolder.importPinBatch')
    4040        logger.info('Start loading from %s.csv' % name)
    4141        pins_section = self.portal_url.getPortalObject().campus.pins
     
    6666            dict['no_of_pins'] = n - 1
    6767            batch.getContent().edit(mapping=dict)
    68             logger.info('Added %s with %d Pins' % (bid,n-1))
     68            logger.info('%s with %d PINs added' % (bid,n-1))
    6969        return self.REQUEST.RESPONSE.redirect("%s" % self.REQUEST.get('URL1'))
    7070    ###)
     
    140140            return unused[-max_pins:]
    141141        return unused
    142    
     142
    143143    security.declareProtected(View,"getUsedPins")
    144144    def getUsedPins(self):
Note: See TracChangeset for help on using the changeset viewer.