Changeset 7210 for main


Ignore:
Timestamp:
26 Nov 2011, 09:48:30 (13 years ago)
Author:
Henrik Bettermann
Message:

The event class name is always ObjectRemovedEvent?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/university/certificate.py

    r7209 r7210  
    135135        studycourse.certificate = None
    136136        notify(grok.ObjectModifiedEvent(student))
    137         event_name = event.__implemented__.__name__.replace(
    138             'zope.lifecycleevent.','')
    139         student.loggerInfo(event_name, 'removed: certificate')
     137        #event_name = event.__implemented__.__name__.replace(
     138        #    'zope.lifecycleevent.','')
     139        student.loggerInfo('ObjectRemovedEvent', 'removed: certificate')
    140140    return
Note: See TracChangeset for help on using the changeset viewer.