Skip to content
This repository has been archived by the owner on Feb 12, 2020. It is now read-only.

Commit

Permalink
General and metadata cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
hannosch committed Jun 8, 2010
1 parent a9f2d9a commit 856b298
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 20 deletions.
4 changes: 2 additions & 2 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Introduction
============

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.
Expand Down Expand Up @@ -82,4 +82,4 @@ Register it in zcml the same way::

.. _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
13 changes: 7 additions & 6 deletions docs/HISTORY.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@ Changelog
=========

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]


7 changes: 1 addition & 6 deletions plone/__init__.py
Original file line number Diff line number Diff line change
@@ -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__)
2 changes: 1 addition & 1 deletion plone/postpublicationhook/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# make it a package
#
1 change: 1 addition & 0 deletions plone/postpublicationhook/event.py
Original file line number Diff line number Diff line change
@@ -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


Expand Down
1 change: 1 addition & 0 deletions plone/postpublicationhook/interfaces.py
Original file line number Diff line number Diff line change
@@ -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."""
Expand Down
3 changes: 0 additions & 3 deletions setup.cfg

This file was deleted.

2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -35,4 +34,3 @@
'Zope2.10': ['ZPublisherEventsBackport'],
},
)

0 comments on commit 856b298

Please sign in to comment.