Ignore:
Timestamp:
18 May 2011, 21:34:51 (13 years ago)
Author:
uli
Message:

Add implementation for new event type.

File:
1 edited

Legend:

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

    r6135 r6137  
    88    from zope.app.security.interfaces import IAuthentication
    99from zope.component import createObject, getUtilitiesFor
     10from zope.component.interfaces import ObjectEvent
    1011try:
    1112    from zope.pluggableauth import PluggableAuthentication
     
    1819from waeup.sirp.interfaces import (
    1920    IUniversity, IDataCenter, IWAeUPSIRPPluggable,
    20     IDataCenterStorageMovedEvent)
     21    IDataCenterStorageMovedEvent, IObjectUpgradeEvent, )
    2122from waeup.sirp.users import UserContainer
    2223
     
    174175    app._setupLogger(logger)
    175176    logger.warn('Log file moved. Opening.')
     177
     178class ObjectUpgradeEvent(ObjectEvent):
     179    """An event fired, when datacenter storage moves.
     180    """
     181    grok.implements(IObjectUpgradeEvent)
Note: See TracChangeset for help on using the changeset viewer.