Back to index

plone3  3.1.7
zope2.py
Go to the documentation of this file.
00001 from zope.interface import implementer
00002 from zope.component import adapter
00003 from Products.Archetypes.interfaces import IBaseObject
00004 from wicked.interfaces import IUID
00005 
00006 
00007 def initialize(context):
00008     """init for wicked.at"""
00009     pass
00010 
00011 
00012 @implementer(IUID)
00013 @adapter(IBaseObject)
00014 def at_uid(atobj):
00015     return atobj.UID()