[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/publisher - browser.py:1.1.2.3
Tim Peters
tim.one@comcast.net
Tue, 24 Dec 2002 21:21:36 -0500
Update of /cvs-repository/Zope3/src/zope/app/interfaces/publisher
In directory cvs.zope.org:/tmp/cvs-serv19240/src/zope/app/interfaces/publisher
Modified Files:
Tag: NameGeddon-branch
browser.py
Log Message:
Whitespace normalization, via Python's Tools/scripts/reindent.py. The
files are fixed-points of that script now. Fixed a few cases where
code relied on significant trailing whitespace (ouch).
=== Zope3/src/zope/app/interfaces/publisher/browser.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/app/interfaces/publisher/browser.py:1.1.2.2 Tue Dec 24 07:51:09 2002
+++ Zope3/src/zope/app/interfaces/publisher/browser.py Tue Dec 24 21:20:35 2002
@@ -2,14 +2,14 @@
#
# Copyright (c) 2002 Zope Corporation and Contributors.
# All Rights Reserved.
-#
+#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (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.
-#
+#
##############################################################################
"""
$Id$
@@ -51,7 +51,7 @@
If no entry can be found, None is returned.
"""
-
+
"""
@@ -78,11 +78,11 @@
self.request = request
self.rname = rname
self.alt = alt
-
+
def __call__(self):
resource = getResource(self.context, self.rname, self.request)
src = resource()
-
+
return ('<img src="%s" alt="%s" width="16" height="16" border="0" />'
% (src, self.alt))