source: main/waeup.sirp/trunk/src/waeup/sirp/__init__.py @ 7212

Last change on this file since 7212 was 7137, checked in by Henrik Bettermann, 13 years ago

Set value Id for property svn:keywords in all Python files.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 450 bytes
RevLine 
[4789]1import grok
[4920]2from waeup.sirp.interfaces import IWAeUPObject
[4789]3from zope.annotation.attribute import AttributeAnnotations
4from zope.annotation.interfaces import IAnnotations
5
6class WAeUPAttributeAnnotations(AttributeAnnotations, grok.Adapter):
7    """An adapter to IAnnotations for any WAeUPObject.
8
9    Providing this adapter, each WAeUP object becomes (attribute)
10    annotatable.
11    """
12    grok.provides(IAnnotations)
13    grok.context(IWAeUPObject)
Note: See TracBrowser for help on using the repository browser.