[Checkins] SVN: z3c.bobopublisher/trunk/ Use the IRequest interface from the z3c.request package

Fabio Tranchitella kobold at kobold.it
Tue Aug 18 10:42:14 EDT 2009


Log message for revision 102909:
  Use the IRequest interface from the z3c.request package

Changed:
  U   z3c.bobopublisher/trunk/CHANGES.txt
  U   z3c.bobopublisher/trunk/setup.py
  U   z3c.bobopublisher/trunk/src/z3c/bobopublisher/interfaces.py

-=-
Modified: z3c.bobopublisher/trunk/CHANGES.txt
===================================================================
--- z3c.bobopublisher/trunk/CHANGES.txt	2009-08-18 13:32:23 UTC (rev 102908)
+++ z3c.bobopublisher/trunk/CHANGES.txt	2009-08-18 14:42:14 UTC (rev 102909)
@@ -4,7 +4,9 @@
 0.1.1 (unreleased)
 ------------------
 
-- ...
+- Use the IRequest interface from the z3c.request package; this will simplify
+  the dependencies of packages providing components which are not dependent on
+  a specific implementation of the request object.
 
 0.1.0 (2009-08-17)
 ------------------

Modified: z3c.bobopublisher/trunk/setup.py
===================================================================
--- z3c.bobopublisher/trunk/setup.py	2009-08-18 13:32:23 UTC (rev 102908)
+++ z3c.bobopublisher/trunk/setup.py	2009-08-18 14:42:14 UTC (rev 102909)
@@ -23,6 +23,7 @@
         'setuptools',
         'bobo',
         'WebOb',
+        'z3c.request',
         'zope.browser',
         'zope.component [zcml]',
         'zope.configuration',

Modified: z3c.bobopublisher/trunk/src/z3c/bobopublisher/interfaces.py
===================================================================
--- z3c.bobopublisher/trunk/src/z3c/bobopublisher/interfaces.py	2009-08-18 13:32:23 UTC (rev 102908)
+++ z3c.bobopublisher/trunk/src/z3c/bobopublisher/interfaces.py	2009-08-18 14:42:14 UTC (rev 102909)
@@ -16,6 +16,8 @@
 $Id$
 """
 
+from z3c.request import interfaces
+
 from zope.interface import Interface
 
 
@@ -37,7 +39,7 @@
     """Marker interface for the bobo:defaultView directive"""
 
 
-class IRequest(Interface):
+class IRequest(interfaces.IWebObRequest):
     """Interface for webob.Request objects"""
 
 



More information about the Checkins mailing list