diff -r 000000000000 -r 712d20d2751e ztfy/utils/__init__.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ztfy/utils/__init__.py Sat Jan 10 00:35:35 2009 +0100 @@ -0,0 +1,29 @@ +### -*- coding: utf-8 -*- #################################################### +############################################################################## +# +# Copyright (c) 2008 Thierry Florac +# All Rights Reserved. +# +# This software is subject to the provisions of the Zope Public License, +# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. +# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED +# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS +# FOR A PARTICULAR PURPOSE. +# +############################################################################## +""" + +$Id: $ +""" + +__version__ = "$Revision: $" +__release__ = "$Id: $" +__docformat__ = "restructuredtext" + +from zope.i18nmessageid import MessageFactory +_ = MessageFactory('ztfy.utils') + + +from traversing import getParent +from request import getRequest, getRequestPrincipal, getRequestData, setRequestData