Back to index

plone3  3.1.7
utils.py
Go to the documentation of this file.
00001 ##############################################################################
00002 #
00003 # Copyright (c) 2005 Zope Corporation and Contributors. All Rights Reserved.
00004 #
00005 # This software is subject to the provisions of the Zope Public License,
00006 # Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
00007 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
00008 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
00009 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
00010 # FOR A PARTICULAR PURPOSE.
00011 #
00012 ##############################################################################
00013 """ Utility functions.
00014 
00015 $Id: utils.py 41353 2006-01-18 11:05:35Z yuppie $
00016 """
00017 
00018 from AccessControl import ModuleSecurityInfo
00019 from zope.i18nmessageid import MessageFactory
00020 
00021 
00022 security = ModuleSecurityInfo('Products.CMFCalendar.utils')
00023 
00024 security.declarePublic('Message')
00025 Message = MessageFactory('cmf_calendar')