[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/file/browser/image.py whitespace fixes
Christian Zagrodnick
cz at gocept.com
Thu Apr 19 05:46:36 EDT 2007
Log message for revision 74249:
whitespace fixes
Changed:
U Zope3/trunk/src/zope/app/file/browser/image.py
-=-
Modified: Zope3/trunk/src/zope/app/file/browser/image.py
===================================================================
--- Zope3/trunk/src/zope/app/file/browser/image.py 2007-04-19 08:46:52 UTC (rev 74248)
+++ Zope3/trunk/src/zope/app/file/browser/image.py 2007-04-19 09:46:35 UTC (rev 74249)
@@ -20,6 +20,8 @@
from zope.size.interfaces import ISized
from zope.app import zapi
from zope.app.file.browser.file import FileView
+
+
class ImageData(FileView):
def __call__(self):
@@ -60,8 +62,8 @@
result = '<img src="%s"' % zapi.absoluteURL(self.context,
self.request)
else:
- result = '<img '
-
+ result = '<img '
+
if alt is None:
alt = getattr(self, 'title', '')
result = '%s alt="%s"' % (result, alt)
@@ -92,10 +94,11 @@
sized = ISized(self.context)
return sized.sizeForDisplay()
+
class ImageAdd(object):
-
+
def update(self):
-
+
if self.update_status is not None:
# We've been called before. Just return the previous result.
return self.update_status
More information about the Zope3-Checkins
mailing list