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"):
_______________________________________________
Zope-CVS maillist - Zope-CVS@zope.org
http://mail.zope.org/mailman/listinfo/zope-cvs
Zope CVS instructions: http://dev.zope.org/CVS
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"):
_______________________________________________
Zope-CVS maillist - Zope-CVS@zope.org
http://mail.zope.org/mailman/listinfo/zope-cvs
Zope CVS instructions: http://dev.zope.org/CVS