[Zope3-checkins] CVS: Zope3/src/zope/app/browser/component - interfacewidget.py:1.1.2.4

Tim Peters tim.one@comcast.net
Tue, 24 Dec 2002 21:21:42 -0500


Update of /cvs-repository/Zope3/src/zope/app/browser/component
In directory cvs.zope.org:/tmp/cvs-serv19240/src/zope/app/browser/component

Modified Files:
      Tag: NameGeddon-branch
	interfacewidget.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/browser/component/interfacewidget.py 1.1.2.3 => 1.1.2.4 ===
--- Zope3/src/zope/app/browser/component/interfacewidget.py:1.1.2.3	Tue Dec 24 13:41:15 2002
+++ Zope3/src/zope/app/browser/component/interfacewidget.py	Tue Dec 24 21:20:11 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.
-# 
+#
 ##############################################################################
 """These are the interfaces for the common fields.
 
@@ -36,7 +36,7 @@
             return interface
         return interface.__module__ + '.' + interface.__name__
 
-class SingleInterfaceWidget(BaseWidget, BrowserWidget):    
+class SingleInterfaceWidget(BaseWidget, BrowserWidget):
 
     def __call__(self):
         search_name = self.name + ".search"
@@ -53,7 +53,7 @@
 
         select_name = self.name
         selected = self._showData()
-        
+
         options = ['<option value=\"\">---select interface---</option>']
         for interface in interfaces:
             options.append('<option value="%s"%s>%s</option>'
@@ -61,17 +61,15 @@
                               interface == selected and ' selected' or '',
                               interface)
                            )
-            
+
 
         search_field = '<input type="text" name="%s" value=\"%s\">' % (
             search_name, search_string)
         select_field = '<select name="%s">%s</select>'  % (
             select_name, ''.join(options))
-        
+
         HTML = search_field + select_field
         return HTML
 
 class DisplayWidget(BaseWidget, DisplayWidget):
     pass
-
-