[Checkins] SVN: plone.postpublicationhook/trunk/ General and metadata cleanup.
Hanno Schlichting
hannosch at hannosch.eu
Tue Jun 8 15:09:09 EDT 2010
Log message for revision 113295:
General and metadata cleanup.
Changed:
U plone.postpublicationhook/trunk/README.txt
U plone.postpublicationhook/trunk/docs/HISTORY.txt
U plone.postpublicationhook/trunk/plone/__init__.py
U plone.postpublicationhook/trunk/plone/postpublicationhook/__init__.py
U plone.postpublicationhook/trunk/plone/postpublicationhook/event.py
U plone.postpublicationhook/trunk/plone/postpublicationhook/interfaces.py
D plone.postpublicationhook/trunk/setup.cfg
U plone.postpublicationhook/trunk/setup.py
-=-
Modified: plone.postpublicationhook/trunk/README.txt
===================================================================
--- plone.postpublicationhook/trunk/README.txt 2010-06-08 16:20:20 UTC (rev 113294)
+++ plone.postpublicationhook/trunk/README.txt 2010-06-08 19:09:08 UTC (rev 113295)
@@ -16,7 +16,7 @@
============
This package provides a hook into Zope's ZPublisher that is run after the
-publisher has completed publication, but before the the transaction is commited
+publisher has completed publication, but before the the transaction is committed
and the response is returned to the requesting browser. This is practical for
caching purposes: it is the ideal place to determine and insert caching headers
into the response.
@@ -82,4 +82,4 @@
.. _zope.event: http://pypi.python.org/pypi/zope.event
.. _zope.component: http://pypi.python.org/pypi/zope.component
-.. ZPublisherEventsBackport: http://pypi.python.org/pypi/ZPublisherEventsBackport
+.. _ZPublisherEventsBackport: http://pypi.python.org/pypi/ZPublisherEventsBackport
Modified: plone.postpublicationhook/trunk/docs/HISTORY.txt
===================================================================
--- plone.postpublicationhook/trunk/docs/HISTORY.txt 2010-06-08 16:20:20 UTC (rev 113294)
+++ plone.postpublicationhook/trunk/docs/HISTORY.txt 2010-06-08 19:09:08 UTC (rev 113295)
@@ -2,16 +2,17 @@
=========
1.1 - Unreleased
--------------------------
+----------------
-* Refactor to use ZPublisher publication events (available in Zope 1.10 with
+* General and metadata cleanup.
+ [hannosch]
+
+* Refactor to use ZPublisher publication events (available in Zope 2.10 with
ZPublisherEventsBackport.)
[lrowe]
-1.0rc1 - October 15, 2008
--------------------------
+1.0rc1 - 2008-10-15
+-------------------
* Initial release
[wichert]
-
-
Modified: plone.postpublicationhook/trunk/plone/__init__.py
===================================================================
--- plone.postpublicationhook/trunk/plone/__init__.py 2010-06-08 16:20:20 UTC (rev 113294)
+++ plone.postpublicationhook/trunk/plone/__init__.py 2010-06-08 19:09:08 UTC (rev 113295)
@@ -1,6 +1 @@
-# See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
-try:
- __import__('pkg_resources').declare_namespace(__name__)
-except ImportError:
- from pkgutil import extend_path
- __path__ = extend_path(__path__, __name__)
+__import__('pkg_resources').declare_namespace(__name__)
Modified: plone.postpublicationhook/trunk/plone/postpublicationhook/__init__.py
===================================================================
--- plone.postpublicationhook/trunk/plone/postpublicationhook/__init__.py 2010-06-08 16:20:20 UTC (rev 113294)
+++ plone.postpublicationhook/trunk/plone/postpublicationhook/__init__.py 2010-06-08 19:09:08 UTC (rev 113295)
@@ -1 +1 @@
-# make it a package
+#
Modified: plone.postpublicationhook/trunk/plone/postpublicationhook/event.py
===================================================================
--- plone.postpublicationhook/trunk/plone/postpublicationhook/event.py 2010-06-08 16:20:20 UTC (rev 113294)
+++ plone.postpublicationhook/trunk/plone/postpublicationhook/event.py 2010-06-08 19:09:08 UTC (rev 113295)
@@ -1,6 +1,7 @@
from zope.interface import implements
from zope.component.interfaces import ObjectEvent
from zope.event import notify
+
from plone.postpublicationhook.interfaces import IAfterPublicationEvent
Modified: plone.postpublicationhook/trunk/plone/postpublicationhook/interfaces.py
===================================================================
--- plone.postpublicationhook/trunk/plone/postpublicationhook/interfaces.py 2010-06-08 16:20:20 UTC (rev 113294)
+++ plone.postpublicationhook/trunk/plone/postpublicationhook/interfaces.py 2010-06-08 19:09:08 UTC (rev 113295)
@@ -1,6 +1,7 @@
from zope.component.interfaces import IObjectEvent
from zope.interface import Attribute
+
class IAfterPublicationEvent(IObjectEvent):
"""An event which is fired after publication, but before the transaction is
commited."""
Deleted: plone.postpublicationhook/trunk/setup.cfg
===================================================================
--- plone.postpublicationhook/trunk/setup.cfg 2010-06-08 16:20:20 UTC (rev 113294)
+++ plone.postpublicationhook/trunk/setup.cfg 2010-06-08 19:09:08 UTC (rev 113295)
@@ -1,3 +0,0 @@
-[egg_info]
-tag_build = dev
-tag_svn_revision = true
Modified: plone.postpublicationhook/trunk/setup.py
===================================================================
--- plone.postpublicationhook/trunk/setup.py 2010-06-08 16:20:20 UTC (rev 113294)
+++ plone.postpublicationhook/trunk/setup.py 2010-06-08 19:09:08 UTC (rev 113295)
@@ -14,7 +14,6 @@
"Framework :: Zope2",
"Intended Audience :: Developers",
"License :: OSI Approved :: Zope Public License",
- "Topic :: Software Development :: Libraries :: Python Modules",
],
keywords='',
author='Wichert Akkerman',
@@ -35,4 +34,3 @@
'Zope2.10': ['ZPublisherEventsBackport'],
},
)
-
More information about the checkins
mailing list