[Zope-CVS] SVN: zope.file/trunk/src/zope/file/ Updated to reflect movement if IResult from being a public API to a

Jim Fulton jim at zope.com
Tue Jan 3 13:37:08 EST 2006


Log message for revision 41107:
  Updated to reflect movement if IResult from being a public API to a
  private API. :)
  
  This code should be rewritten to use and return a temporary file.
  (Or, we can optimistically wait for blobs. :)
  

Changed:
  U   zope.file/trunk/src/zope/file/configure.zcml
  U   zope.file/trunk/src/zope/file/download.py

-=-
Modified: zope.file/trunk/src/zope/file/configure.zcml
===================================================================
--- zope.file/trunk/src/zope/file/configure.zcml	2006-01-03 18:27:58 UTC (rev 41106)
+++ zope.file/trunk/src/zope/file/configure.zcml	2006-01-03 18:37:08 UTC (rev 41107)
@@ -100,7 +100,7 @@
       />
 
   <class class=".download.DownloadResult">
-    <allow interface="zope.publisher.interfaces.http.IResult"/>
+    <allow interface="zope.publisher.http.IResult"/>
   </class>
 
 </configure>

Modified: zope.file/trunk/src/zope/file/download.py
===================================================================
--- zope.file/trunk/src/zope/file/download.py	2006-01-03 18:27:58 UTC (rev 41106)
+++ zope.file/trunk/src/zope/file/download.py	2006-01-03 18:37:08 UTC (rev 41107)
@@ -21,7 +21,7 @@
 import zope.interface
 import zope.mimetype.interfaces
 import zope.publisher.interfaces.browser
-import zope.publisher.interfaces.http
+import zope.publisher.http
 
 import zope.app.publisher.interfaces.browser
 
@@ -68,7 +68,7 @@
     """Result object for a download request."""
 
     zope.interface.implements(
-        zope.publisher.interfaces.http.IResult)
+        zope.publisher.http.IResult)
 
     def __init__(self, context, contentType=None, downloadName=None,
                  contentDisposition="attachment"):



More information about the Zope-CVS mailing list