src/ztfy/utils/__init__.py
branchZTK-1.1
changeset 148 d3668ecd9137
parent 10 e8b562758753
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/ztfy/utils/__init__.py	Wed Jun 20 16:29:53 2012 +0200
@@ -0,0 +1,22 @@
+### -*- coding: utf-8 -*- ####################################################
+##############################################################################
+#
+# Copyright (c) 2008 Thierry Florac <tflorac AT ulthar.net>
+# 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.
+#
+##############################################################################
+
+
+from zope.i18nmessageid import MessageFactory
+_ = MessageFactory('ztfy.utils')
+
+
+from traversing import getParent
+from request import getRequest, getRequestPrincipal, getRequestData, setRequestData