[Checkins] SVN: zope.publisher/trunk/ Moved EndRequestEvent and IEndRequestEvent from zope.app.publication into this package.
Hanno Schlichting
hannosch at hannosch.eu
Tue Dec 15 14:48:23 EST 2009
Log message for revision 106563:
Moved EndRequestEvent and IEndRequestEvent from zope.app.publication into this package.
Changed:
U zope.publisher/trunk/CHANGES.txt
U zope.publisher/trunk/setup.py
U zope.publisher/trunk/src/zope/publisher/interfaces/__init__.py
-=-
Modified: zope.publisher/trunk/CHANGES.txt
===================================================================
--- zope.publisher/trunk/CHANGES.txt 2009-12-15 19:42:02 UTC (rev 106562)
+++ zope.publisher/trunk/CHANGES.txt 2009-12-15 19:48:23 UTC (rev 106563)
@@ -1,12 +1,12 @@
CHANGES
=======
-3.10.2 (unreleased)
+3.11.0 (unreleased)
-------------------
-- Nothing changed yet.
+- Moved EndRequestEvent and IEndRequestEvent from zope.app.publication into
+ this package.
-
3.10.1 (2009-11-28)
-------------------
Modified: zope.publisher/trunk/setup.py
===================================================================
--- zope.publisher/trunk/setup.py 2009-12-15 19:42:02 UTC (rev 106562)
+++ zope.publisher/trunk/setup.py 2009-12-15 19:48:23 UTC (rev 106563)
@@ -28,7 +28,7 @@
"""
setup(name='zope.publisher',
- version = '3.10.2dev',
+ version = '3.11.0dev',
url='http://pypi.python.org/pypi/zope.publisher',
license='ZPL 2.1',
author='Zope Corporation and Contributors',
Modified: zope.publisher/trunk/src/zope/publisher/interfaces/__init__.py
===================================================================
--- zope.publisher/trunk/src/zope/publisher/interfaces/__init__.py 2009-12-15 19:42:02 UTC (rev 106562)
+++ zope.publisher/trunk/src/zope/publisher/interfaces/__init__.py 2009-12-15 19:48:23 UTC (rev 106563)
@@ -465,6 +465,20 @@
"""
+class IEndRequestEvent(Interface):
+ """An event which gets sent when the publication is ended"""
+
+
+class EndRequestEvent(object):
+ """An event which gets sent when the publication is ended"""
+
+ implements(IEndRequestEvent)
+
+ def __init__(self, ob, request):
+ self.object = ob
+ self.request = request
+
+
class ISkinType(IInterface):
"""Base interface for skin types."""
More information about the checkins
mailing list