[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Image - ImageData.py:1.1.2.3
Tres Seaver
tseaver@zope.com
Tue, 12 Feb 2002 15:56:33 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Image
In directory cvs.zope.org:/tmp/cvs-serv19744/Zope/App/OFS/Image
Modified Files:
Tag: Zope-3x-branch
ImageData.py
Log Message:
- Normalize file headers.
- Fix violations of "80 character" rule.
=== Zope3/lib/python/Zope/App/OFS/Image/ImageData.py 1.1.2.2 => 1.1.2.3 ===
+#
+# Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
+#
# This software is subject to the provisions of the Zope Public License,
# Version 1.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
+##############################################################################
+""" Define view component for naive file editing.
-"""
- Define view component for naive file editing.
+$Id$
"""
import string
@@ -24,7 +29,8 @@
def index(self, REQUEST=None):
image = self.getContext()
if REQUEST is not None:
- REQUEST['RESPONSE'].setHeader('content-type', image.getContentType())
+ REQUEST['RESPONSE'].setHeader('content-type',
+ image.getContentType())
return image.getData()