[Zope3-checkins] CVS: Zope3/src/zope/app/renderer - vocabulary.py:1.2

Sidnei da Silva cvs-admin at zope.org
Wed Oct 29 15:26:29 EST 2003


Update of /cvs-repository/Zope3/src/zope/app/renderer
In directory cvs.zope.org:/tmp/cvs-serv23068/src/zope/app/renderer

Modified Files:
	vocabulary.py 
Log Message:
Whitespace cleaning


=== Zope3/src/zope/app/renderer/vocabulary.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/renderer/vocabulary.py:1.1	Thu Jul 31 14:48:38 2003
+++ Zope3/src/zope/app/renderer/vocabulary.py	Wed Oct 29 15:26:28 2003
@@ -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.
-# 
+#
 ##############################################################################
 """Vocabulary for the Source Type Registry
 
@@ -35,20 +35,20 @@
 
     def __init__(self, context):
         self.types = getService(context, 'SourceTypeRegistry')
-    
+
     def __contains__(self, value):
         return value in self.types.getAllTitles()
-    
+
     def __iter__(self):
         terms = map(lambda st: SourceTypeTerm(st), self.types.getAllTitles())
         return iter(terms)
-    
+
     def __len__(self):
         return len(self.types.getAllTitles())
-    
+
     def getQuery(self):
         return None
-    
+
     def getTerm(self, value):
         if value not in self:
             raise KeyError, 'item (%s) not in vocabulary.' %value




More information about the Zope3-Checkins mailing list